Skip to main content

Bug Tracker

Side navigation

#9729 closed bug (invalid)

Opened July 02, 2011 07:02AM UTC

Closed July 02, 2011 07:12PM UTC

selector bug in google chrome & firefox

Reported by: Owned by:
Priority: low Milestone:
Component: traversing Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

HTML code:





<input type="text"/>






$('form input').val('some_value'); doesn't work.

$('table input').val('some_value'); work well.

this occurs while using google chrome & firefox.

Have I make a mistake or it's a bug?

Attachments (0)
Change History (1)

Changed July 02, 2011 07:12PM UTC by dmethvin comment:1

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

The markup is invalid HTML. The form tag can't be nested inside a table that way. Wrap the table in the form instead.