Click to get Flash Player
Get Adobe Flash player

or try to enable JavaScript and reload the page

Tuesday 4 September 2012

Show & Hide Gridview Cell with mouse hover asp

 $(document).ready(function () {

            $('<%# GridView1.ClientID%> tr td:nth-child(2)').hover(function () {
                $(this).next().css("visibility", "visible");            // show on mouse over on row
            });
            $('<%# GridView1.ClientID%> tr').mouseleave(function () {
                $('<%# GridView1.ClientID%> tr td:nth-child(3)').css("visibility", "hidden"); //hide on mouse leave from row
            });

});

No comments:

Post a Comment

thnx