Bug jQuery 1.3.2 & FF3.5 - $("input[name='']")

Bug jQuery 1.3.2 & FF3.5 - $("input[name='']")

This code used to work before i upgraded to FF3.5. Is there any other way to achive the same thing?

$("input[name=''],textarea[name='']").each(function(i) {
    this.name = this.id;
});