Side navigation
#3869 closed bug (wontfix)
Opened January 15, 2009 01:25PM UTC
Closed January 15, 2009 02:24PM UTC
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: |
Description
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]")
Attachments (0)
Change History (1)
Changed January 15, 2009 02:24PM UTC by comment:1
milestone: | 1.3 → 1.3.1 |
---|---|
resolution: | → wontfix |
status: | new → closed |
version: | 1.2.6 → 1.3 |
'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.