Skip to main content

Bug Tracker

Side navigation

#11830 closed bug (invalid)

Opened May 29, 2012 07:43AM UTC

Closed May 29, 2012 07:45AM UTC

Last modified May 29, 2012 07:48AM UTC

td的name和id属性的值一样会出错

Reported by: 422819105@qq.com Owned by:
Priority: low Milestone: None
Component: misc Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

如果TD中的name和id的值一样会出错例如

<td id="name1" name="name2">

<td id="name2" name="name2">

如果$("[name='name2']")来取只能取到一个

Attachments (0)
Change History (2)

Changed May 29, 2012 07:45AM UTC by sindresorhus comment:1

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

English and jsFiddle testcase please

Changed May 29, 2012 07:48AM UTC by anonymous comment:2

<td id="name1" name="name2"> <td id="name2" name="name2">

$("[name='name2']") only get one column