Here is what I tried to do:
Here is what I should have done:
$("blah").each(function(index) {
this.id = newID;
this.name = newID;
});
Once I changed my code to the latter, it starting working correctly in IE7.
$("blah").each(function(index) {
$(this).attr("id", newID);
$(this).attr("name", newID);
});
0 comments:
Post a Comment