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

Y

yaron

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.
 
J

Jambalaya

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").)
 
Y

yaron

thanks for the fast reply : ) do you happen to know if there is some
size limit on information sent with forms ?
 
D

Dag Sunde

yaron said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top