This code is wriiten in VS 2003 -asp.net
in the HTML page, I have a javascript function checkuser() defined which returns boolean. I would like to enclose the following in a call to this function
<A onclick="stageClear(); stageEditor();" href="javascript: void(0);">Add new Stage</A>
I want something like
<%if checkuser() then%>
<A onclick="stageClear(); stageEditor();" href="javascript: void(0);">Add new Stage</A>
<% end if %>
But I am getting the error checkuser() not defined