M
Mike P
How would I show or hide a div that is using client side Javascript
based upon a server side variable?
Here are my divs :
<div id="idButton5" class="otherLeftBarLink" onmouseover="javascript:
changeStylesMouseOver('5');" onmouseout="javascript:
changeStylesMouseOut('5');" onclick="location='/AddProject.aspx'">
<div class="leftBarLinkText">
Add Project
</div>
</div>
<div id="idButton7" class="otherLeftBarLink"
onmouseover="javascript: changeStylesMouseOver('7');"
onmouseout="javascript: changeStylesMouseOut('7');"
onclick="location='/AddTask.aspx'">
<div class="leftBarLinkText">
Add Task
</div>
</div>
I want to use a variable that is being set in the Page_Load event to
determine whether I show or hide each of these divs.
based upon a server side variable?
Here are my divs :
<div id="idButton5" class="otherLeftBarLink" onmouseover="javascript:
changeStylesMouseOver('5');" onmouseout="javascript:
changeStylesMouseOut('5');" onclick="location='/AddProject.aspx'">
<div class="leftBarLinkText">
Add Project
</div>
</div>
<div id="idButton7" class="otherLeftBarLink"
onmouseover="javascript: changeStylesMouseOver('7');"
onmouseout="javascript: changeStylesMouseOut('7');"
onclick="location='/AddTask.aspx'">
<div class="leftBarLinkText">
Add Task
</div>
</div>
I want to use a variable that is being set in the Page_Load event to
determine whether I show or hide each of these divs.