sundarraj_mca wrote:hai rangana,
i have a problem with my web page since i am using a form in it which has javascript for data manuplating, i use a submit button. if i disable it the whole form parameters gets disabled in IE and not works properly in other browsers. so when i click this submit button form should be submitted if all fields are correct else return to same page.
can you rectify this to me
thank you
Originally sent via PM.
Ideally, you can have all the input elements inside the form to have a
readonly attribute using JS.
For the submit stuff, you can have an onsubmit event handler which will return
true if all the fields are correct, if not, then it shall return
false.
If that ain't help, show us the whole code and we'll be glad to help you.
Also, please use the public forum, some members might have exactly the same problem as yours.