Hello all --
So I'm trying to get my own custom client side validation script to fire onSubmit of a webform. Here's the declaration of the form:
<form method=post id=theForm runat=server onSubmit="test();">
and the script:
function test(){
alert();
}
Inside the form, I have a datagrid, which is editable -- and I want the function to fire (and eventually do validation) when the form is submitted --
This would be onSort, onEdit, onUpdate, all of the events that do the postback, right? Well, the function won't fire, and I can't seem to figure out why.
Can someone shine the light for me?
thanks,
paul
So I'm trying to get my own custom client side validation script to fire onSubmit of a webform. Here's the declaration of the form:
<form method=post id=theForm runat=server onSubmit="test();">
and the script:
function test(){
alert();
}
Inside the form, I have a datagrid, which is editable -- and I want the function to fire (and eventually do validation) when the form is submitted --
This would be onSort, onEdit, onUpdate, all of the events that do the postback, right? Well, the function won't fire, and I can't seem to figure out why.
Can someone shine the light for me?
thanks,
paul