469,645 Members | 1,150 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.

need help.. sending jscript client side variable to asp file

hi all!

i have an html page, with jscript inside. some variables, some of them
multidimensional arrays. i need to send this information, which can be
changed by the user, to an asp file. the only way i could think of, is
putting it inside hidden box and sending the form. is there any more
elegant way ?

thanks in advance,
yaron.

Sep 6 '05 #1
6 1248
using forms is as "elegant" as any in my view.

Sep 6 '05 #2
If you want to send the information without causing a page reload, you
could use the XMLHttpRequest() object (and it's Win IE equivalent
ActiveXObject("Msxml2.XMLHTTP").)

Sep 6 '05 #3
thanks!

Sep 8 '05 #4
thanks for the fast reply : ) do you happen to know if there is some
size limit on information sent with forms ?

Sep 8 '05 #5
"yaron" <ya*******@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
thanks for the fast reply : ) do you happen to know if there is some
size limit on information sent with forms ?


Yes, as long as the forms method = GET, most browsers introduce
a limit.

It varies from browser to browser, and is in the range of
approx. 1 to 4 Kilobytes.

To avoid it, POST your forms instead.

--
Dag.
Sep 8 '05 #6
great. thanks!

Sep 10 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Elmbrook | last post: by
3 posts views Thread by Henke | last post: by
3 posts views Thread by Larry David | 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.