milani_lucie
asked on
How to refer javascript variables in ASP (Classical) ?
Hi,
I have some javascript variables. I want to refer them in Active Server Pages - server side. Can you please let me know how to do that ?
<script language="javascript" type="text/javascript">
int i
int j
</script>
I want to refer these two variables in Active Server Pages (Classical) - server side.
Thanks
I have some javascript variables. I want to refer them in Active Server Pages - server side. Can you please let me know how to do that ?
<script language="javascript" type="text/javascript">
int i
int j
</script>
I want to refer these two variables in Active Server Pages (Classical) - server side.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you don't need to use the variables while the page is loading then you can use your javascript variable to place the value to a vbs variable that you can access when the page is posted or reused.
You may have a form field for instance and a js value. Once the page loads, you can use js to fill in the value of your form field. Then when you post the page, it will be just as if you typed in the data to your field.
You may have a form field for instance and a js value. Once the page loads, you can use js to fill in the value of your form field. Then when you post the page, it will be just as if you typed in the data to your field.
ASKER
CDONTS can accept multiple file attachments ? File attacments may be something like this:
Attachment 1) http://google.com/Image1.jpg
Attachment 2) http://Bing.com/Image2.jpg
Can you please provide me the code for this ?
Thanks