Posted on: 6/18/2014 6:02:45 PM | Views : 365

I've server side varibale in .cs page I want to call it in javascript of aspx page like this 
String data ="<a onclick='SelectFromRepository(1815,"E:/Projects/OrbisProject__1305/OrbisProject/Orbis/Content/MediaFiles/Images/photo_Thumb.PNG","E:/Projects/OrbisProject__1305/OrbisProject/Orbis/Content/MediaFiles/Images/photo.PNG"); return false;' href='#'><img style='padding:2px;' src='E:/Projects/OrbisProject__1305/OrbisProject/Orbis/Content/MediaFiles/Images/photo.PNG' alt=''  /></a>"

on client side I'm calling it like
var html = '<%=data%>';
but when I do this then javascript code doesn't work

Go to the complete details ...