![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)
Necesito la ayuda de alguien, tengo la siguiente rutina que no funciona. Especificamente, no puedo capturar el evento_onsubmit, alguien podrà decierme en que estoy equivocado.
NOTA: Estoy haciendo una llamada recursiva a la pagina *.asp:
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!-
function MyForm_onsubmit(){
if (parent.frames.item(0).MyForm.MyURL.value==
"Ingrese un Sitio Web"){return false;
}
document.MyForm.TheURL.value =
parent.frames.item(0).Myform.MyURL.value;
}
//->
</SCRIPT>
</HEAD>
<BODY>
<CENTER>
<P>
<Img Src=sites1.gif><BR>
<Form name=MyForm
method="post"
action="<%Application("SiteURL") & "/addsite.asp"%>"
LANGUAGE='javascript'
onsubmit="return MyForm_onsubmit()">
<Input Type='Hidden' name='TheURL' value="">
<Input Type='submit' value='Agregar Sitio' id='submit1' name='submit1'>
</Form>