Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i want to hide div using jquery like this

XML
<script type="text/javascript">
        $.fn.myfunction = function () {
            $(document).ready(function () {
                alert("here");
                $("#myMenu").hide();
                $("table[id$='Grd_Stock'] > tbody > tr").bind("contextmenu", function (e) {
                    $("#myMenu").css({ top: e.pageY + "px", left: e.pageX + "px", position: 'absolute' });
                    $("#myMenu").hide();
                });
            });
        }
    </script>


i am calling this function from code behind file.but couldn't successed. please help
Thank you
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900