bandino
6 Jun 2007, 5:08 AM
Hi,
I have a page with html form loaded in the BasicDialog.
I tried to set onsubmit of the form:
<script>
function submFrm()
{
alert('Just testing');
return false;
}
</script>
...
<form id="form1" onsubmit="return submFrm();">....</form>
When I submit the form I get the error in firebug that tells that submFrm is not defined.
Can anyone help with this problem?
Regards
I have a page with html form loaded in the BasicDialog.
I tried to set onsubmit of the form:
<script>
function submFrm()
{
alert('Just testing');
return false;
}
</script>
...
<form id="form1" onsubmit="return submFrm();">....</form>
When I submit the form I get the error in firebug that tells that submFrm is not defined.
Can anyone help with this problem?
Regards