Hi All,
following jquery code is working fine in firefox.
and not working in chrome and explorer
$("#GridView1 tr td").filter(":not(td:first-child) ").each(function () {
var cellText = $(this).text();
if ((cellText).contains('M')) {
$(this).text(cellText.replace('M', ''));
$(this).css('background-color', 'Red');
}
if ((cellText).contains('S')) {
$(this).text(cellText.replace('S', ''));
$(this).css('background-color', 'Gainsboro');
}
});
what i have to change for working in all browsers
Regards
Baiju