Bug Tracker

Opened 14 years ago

Closed 14 years ago

#3869 closed bug (wontfix)

Just see the examples

Reported by: MarkeLi Owned by: john
Priority: major Milestone: 1.3.1
Component: selector Version: 1.3
Keywords: Cc:
Blocked by: Blocking:


My codes don't work well under 1.3.

for eaxmple: $("#mytable tbody[name=details]").html("<tr name=data_item><td>xxxx</td></tr>") ;

and this command returns empty: $("#mytable tbody[name=details] tr[name=data_item]")

Change History (1)

comment:1 Changed 14 years ago by john

Resolution: wontfix
Status: newclosed

'name' is not a valid attribute for tbody or tr elements (it's only for things like a, input, or form elements). We now use getElementsByName in jQuery (provided by the browser) so it's not really a surprise that it doesn't return anything. I'd recommend using 'id' or 'class' instead, in this case.

Note: See TracTickets for help on using tickets.