Am trying to add an attr for the id and onclick, its working on firefox and chrome but for some reason it isn't working on IE 9 . Any alternative or something is wrong with me code?
$(".extendedGridView tr td a").each(function (index)
{
if ($(this).html() == "Update")
{
$(this).attr('id', 'insertButton');
$(this).attr('onclick', "return Validate('extendedGridView')");
}
});
.html()to.text()