Jquery not working when deployed on iis7

Jquery not working when deployed on iis7


I am using simple Jquery statements just to show a modal popup, here #infomsgbackground works as modal background and #infomsg works as a modal popup, all these codes works fine in visual studio 2010 with ie and in firefox but when i try to deploy it on iis 7 ..this code not working

JQuery
  1. <script type="text/javascript" src="~/jScripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript">
            $(".updatephone").live('click', function () {
                $("#infomsgbackground").fadeIn("slow");
                $("#infomsg").fadeIn("slow");
            });

            $(".close_label").live('click', function () {
                $("#infomsgbackground").fadeOut("slow");
                $("#infomsg").fadeOut("slow");
            });
    </script>










CSS

  1. #infomsgbackground {
        position:fixed;
        top:0px;
        bottom:0px;
        left:0px;
        right:0px;
        overflow:hidden;
        padding:0;
        margin:0;
        background-color: Black;
        filter: alpha(opacity=80);
        opacity:0.5;
        z-index:99;
        -moz-opacity: 0.8;
        opacity: 0.8;
        min-height: 100%;
        display:none;
    }

    #infomsg {
        position:fixed;
        top:25%;
        left:25%;
        width: 50%;
        height: 50%;
        z-index: 1001;
        background-color: White;
        text-align:center;
        border: 5px solid #67CFF5;
        font-family: Arial;
        font-size: 10pt;
        vertical-align:middle;
        display:none;
    }