By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

passing submit button value

P: 19
I have a form with name DSform. i have two submit buttons with value "save all" and "save some "
the action of the form is page2.asp.

I am using this code in function

document.DSform.submit();

can anyone please help me know how can i pass the value of submit to next page using
document.DSform.submit();.

Thanks
Jun 17 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Use a hidden form field and set it before calling submit().
Jun 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.