Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
What is the Use of
JavaScript
var sCookiePhoto = "<%=m_sCookiePhoto %>"
line in javascript..

[Edit]Code block added[/Edit]
Posted
Updated 27-Oct-12 2:23am
v2
Comments
Zoltán Zörgő 27-Oct-12 8:22am    
Depends on the rest of the code...

1 solution

It reads the content of a Server variable into the Javascript.
In this case, you should have a public variable called m_sCookiePhoto and the value of the current instance will be pulled into the javascript code and used.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900