Opened 12 years ago
Closed 12 years ago
#9729 closed bug (invalid)
selector bug in google chrome & firefox
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | traversing | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
HTML code:
<table>
<form>
<tr>
<td>
<input type="text"/>
</td>
</tr>
</form>
</table>
JS:
$('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?
Change History (1)
comment:1 Changed 12 years ago by
Component: | unfiled → traversing |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The markup is invalid HTML. The form tag can't be nested inside a table that way. Wrap the table in the form instead.