In article <42**********@news.tm.net.my>,
tn***@pc.jaring.my enlightened us
with...
Hi,
if I have both javascript and aspscript,
how to get/retrieve the variable value in javascript into asp variable ?
Clarify what you mean.
There is no such thing as aspscript.
ASP[.net] is a framework.
It can run javascript (jscript), vbscript, and other languages on the SERVER
SIDE.
MSIE can use vbscript or javascript on the CLIENT-side.
All other browsers can use javascript on the CLIENT-side.
So, are you trying to share variables all on the client, all on the server,
from the server to the client, or from the client to the server?
You can easily write values from the server to the client.
To get stuff from the client to the server in an ASP.net environment, use
postback. Any other environment (including classic ASP), you have to
specifically make a request to the server as either a form submission, get
params (url) or other means (img tag that calls script, etc).
--
--
~kaeli~
"When dogma enters the brain, all intellectual activity
ceases" -- Robert Anton Wilson
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace