By clicking image "imgAdd", I want to set visibility of div "divAddCustomerInfo" to true by using JavaScript. But click on image isn't working. I think that is because JavaScript isn't working. Anyone can help? Yhanks in advance.
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
function imgAdd_click() {
document.getElementById("divAddCustomerInfo").style.visibility = 'visible';
}
</script>
<div id="divCustomerBody" style="margin-left:300px; margin-top:50px;">
<h1>Customer</h1>
<hr style="color:gray; width:900px; margin-left: 0px;" />
<br />
<div id="divOperationSymbol" style="height:100px; width:900px; ">
<div id="divAddition" onclick="divAddition_click()" style="height:100px; float:left; width:300px; " >
<img id="imgAdd" onclick="imgAdd_click()" src="001446-3d-transparent-glass-icon-media-a-media35-add.png" style="height:70px; width:70px; display:block; margin-left:auto; margin-right:auto;" />
<label id="lblAdd" onclick="lblADD_click()" style="color: #a6a6a6; margin-left:100px;">Add Customer</label>
</div>
</div>
</div>
<div id="divAddCustomerInfo" style="visibility: hidden; margin-left:300px; margin-top:50px;">
</div>