J
JP2006
I have a webpage that is made up of mulitiple web controls. Several of
these effect a postback on the page if clicked on. However one them is
a form and needs validation on the user input - I have some javascript
that does the validation which is triggered by the onsubmit event of
the form.
The issue is that this event, and the javascript, also fires when any
of the other webcontrols on the page are used (ie. a link button is
clicked).
I am sure this is a common beginners problem with .NET web forms and
web controls - please put me straight on the right way to do this!
Thanks
these effect a postback on the page if clicked on. However one them is
a form and needs validation on the user input - I have some javascript
that does the validation which is triggered by the onsubmit event of
the form.
The issue is that this event, and the javascript, also fires when any
of the other webcontrols on the page are used (ie. a link button is
clicked).
I am sure this is a common beginners problem with .NET web forms and
web controls - please put me straight on the right way to do this!
Thanks