Change Background Color of GridView Cell using JQuery
<head runat="server"> <title>GridView Cell Background Color</title> <style type="text/css">.grdCell{ background-color:Gray; } </style> <script type="text/javascript" src=" http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"> </script> <script type='text/javascript'> $(function () { $("#grdCust td").filter(function () { return $(this).text() == "France"; }).addClass("grdCell"); }); </script> </head>
No comments:
Post a Comment