passing javascript variable data to asp variable

passing javascript variable data to asp variable

am 18.11.2005 04:40:06 von Steve Cosh

Hi,

is there any way of passing a javascript variable over to a asp variable so
i can write it to my database.

Thanks

Re: passing javascript variable data to asp variable

am 18.11.2005 12:58:24 von reb01501

Steve Cosh wrote:
> Hi,
>
> is there any way of passing a javascript variable over to a asp
> variable so i can write it to my database.
>
> Thanks
The only way to pass data to an asp page is to cause it to be part of the
form submission, either by programatically adding it to the url as a
querystring, or by putting it in a hidden form field in the onsubmit event.

Please follow up in a client-side scripting newsgroup such as
..scripting.jscript for details

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"