alert in my function gives me the exact value but it is not reaching there. I did these for 4,5 JSP's but its not working only for one JSP only. Please suggest me. It's really urgernt for me [ October 23, 2005: Message edited by: Bear Bibeault ]
HI, the problem with the code is that ..... you have sumitted the form (document.forms.submit() and then you are putting the alert ... try putting the alert before you submit the form .... since you are submitting the form the button value maybe is getting reset ...
Joined: Oct 17, 2005
Thanks a lot for the reply. I placed the alert before and after submitting the form, at both places I can get the value, which Submit button needs to submit.