|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
JS into ASP
i have a global var in Javascript called booktype
and want to add it to a ASP sesion simple ??? <% session("booktype") = booktype but it dosen't work ofcourse becos its not yet a ASP Var pls help Cheers G web design uk |
|
#2
|
|||
|
|||
|
create a hidden field and set that field to the value of the global variable. then when it is submitted you can access it through the querystring or form (depending on your method).
__________________
Programmer's Corner |
|
#3
|
|||
|
|||
|
anyway of doing it without submitting ?
Thats my problem.... I can do it by submitting but wanted to know if its pos to just pass the variables |
|
#4
|
|||
|
|||
|
The client data needs to be able to talk to the IIS server. Without using some sort of COM object or server side language you will have to submit the data.
... Why do you not want to submit the form? |
|
#5
|
|||
|
|||
|
i just want to hold the contents of a form on a e-commerce site without submiting so user could go to any page come back and it would remeber all pervious setting....
I am using session and i know i could pass the var the a page in the back ground as a URL string and then pull it off BUT seems very back method to me ...? Therefore i goin down the root of submit onbody unload it requestfrom wam bam cheers for the help |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > JS into ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|