469,645 Members | 1,571 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Passing Javascript variable on ASP page

I have a page, where onload, I populate various boxes with totals via a javascript function. My page itself is in .asp. My question is, how do I take those javascript values that load initially and pass them to the next page so I can update my database with the values?
Jan 24 '07 #1
2 1290
acoder
16,027 Expert Mod 8TB
Once you populate the form with Javascript values, pressing the submit button will automatically pass those values to the action page. How you obtain those values on the next page is an ASP question.
Jan 24 '07 #2
Actually, because the fields themselves were disabled, the values were not passing to the next page. I solved this by creating hidden fields with the same values.

Thanks!
Jan 24 '07 #3

Post your reply

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

Similar topics

8 posts views Thread by Jonas Daunoravicius | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.