NAME is not valid attribute of <tr>, so it's possible you can expect
some inconsistencies.
I suggest changing it to using ID instead (remember, IDs cannot begin
with a number also, so you'll have to prepend it with something).

Other suggestions are using jQuery's data() functions:
http://docs.jquery.com/Core/data

or using the metadata plugin:
http://plugins.jquery.com/project/metadata

On Aug 27, 1:21 am, Dannib <dni...@gmail.com> wrote:
> I just ran into a behaviour that I can't explain using jQuery 1.3.2.
>
> -- HTML
> <table id="global_id">
> <tr>...</tr>
> <tr class="rel_event" name="12345">...</tr>
> <tr class="rel_event" name="12347">...</tr>
> <tr>...</tr>
> </table>
>
> -- First code which doesn't work in IE6 (work in mozilla browsers,
> IE7+, Opera and probably others as well)
> $('#'+gl_my_tbl_id+' tr.rel_event[name='+uniq_id+']').remove();
>
> -- Code that DOES work in IE6
> $('#'+gl_my_tbl_id+' tr.rel_event').filter('[name='+uniq_id+']').remove
> ();
>
> As expected or a unhandled/unexpected/buggy behaviour in IE6?

Reply via email to