Link to home
Start Free TrialLog in
Avatar of milani_lucie
milani_lucieFlag for United States of America

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
ASKER CERTIFIED SOLUTION
Avatar of John Easton
John Easton
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of milani_lucie

ASKER

Then

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
Avatar of Scott Fell
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.