JQuery Click Event Problem

Posted by hari on Stack Overflow See other posts from Stack Overflow or by hari
Published on 2010-03-27T11:08:22Z Indexed on 2010/03/27 11:13 UTC
Read the original article Hit count: 735

Filed under:
|

Im creating modal popup using jquery. Im firing the modal pop up through button click event and the corresponding code here

 $(document).ready(function () {
            $("#Button1").click(function () {
                el = document.getElementById("overlayDiv");
                el.style.visibility = "visible";
                el1 = document.getElementById("progress");
                el1.style.visibility = "visible";
                el2 = document.getElementById("image");
                el2.style.visibility = "hidden";
            });
        });

This works when I click the button at first, after that it doesnt works.

Thanks, Hari.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about modalpopup