hi
I use the below codes to show modal when page is running and I use image buttons on the page now the problem is when I click on every image button it will show modal.
I want it just shows modal just one time (when the page is runing).
<div id="openModal7" class="modalDialog">
<div>
<div class="deleteMes4">
<asp:Image ID="Image2" runat="server" ImageUrl="~/image/Animated-Logo.gif" CssClass="imgsaveM lbldelmes"></asp:Image>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
var x = document.getElementById("openModal7");
x.style.display = "block";
setTimeout(function () {
x.style.display = "none";
},3000);
});
</script>
Best Regards
Neda