I have the following HTML code
<td class="testclass"> </td>
I’m trying with the following jquery:
$('testclass').each(function () {
$(this).text("testtext");
});
This code is working file in FF but not in IE. Can any one let me know how i can resolve this in IE?
Is the problem in your selector? You need a “.” to select on classes, so like: