Is there any way to access server side asp.net variable in javascript? I want to do something like
function setBookmark(val)
{
document.getElementById('<%# hBookmark.ClientID %>').value=val;
}
Is it possible in anyway?
*Note*: hBookmark is a server side html hiddent control, I want to use client ID as IDs are changed as the server controls are rendered.