I am trying to get a server side code working with JavaScript. What am I doing wrong?
function openUp(name)
{
document.getElementById(name).style.display = <%if (Request.ServerVariables["HTTP_USER_AGENT"].Contains("FireFox"))Then %>
response.write('table-row'); <%else%> response.write('block');
}
[data-*]attributes to pass data to the client side, and keep your scripts in external.jsfiles.