File cgisetup/js/pjhatwal-modal.js artifact 6530096b9d part of check-in c1467629d6
$(document).ready(function(){ $(".viewmodal").click(function(){ var modal = document.getElementById("myModal" + this.id); // alert(this.id); modal.style.display = "block"; }); $(".close").click(function(){ var modal = document.getElementById("myModal" + this.id); // alert(this.id); modal.style.display = "none"; }); });