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

Passing hidden field value in hyperlinks

P: n/a
I currently us JavaScript to populate a hidden field with my scroll
location in order to retain the page location when I post the page back
to itself. However, I don't know how to pass that hidden field value
in a hyperlink as the value is always changing. Anyone have any
suggestions?

Jul 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
you'll have to use some more fancy javascript.
Instead of a standard HREF use the onClick to jump to a script function that
reads the hidden field value then redirects the location appropriately

--
Curt Christianson
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Patrick" <hs*******@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I currently us JavaScript to populate a hidden field with my scroll
location in order to retain the page location when I post the page back
to itself. However, I don't know how to pass that hidden field value
in a hyperlink as the value is always changing. Anyone have any
suggestions?

Jul 22 '05 #2

P: n/a
thanks I'll try that

Jul 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.