jQuery: The Write Less, Do More JavaScript Library

Ticket #1935 (closed bug: invalid)

Opened 9 months ago

Last modified 8 months ago

maybe bug, $("form input") can not find.

Reported by: catoc Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.2 Component: core
Version: 1.2.1 Keywords:
Cc: Needs: Review

Description

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<table>
<form>
	<tr>
		<td>
 <input >
		</td>
	</tr>
</form>
</table>

move <table> into <form>, can be find.
sorry for my english poor.

Attachments

Change History

Changed 8 months ago by davidserduke

  • status changed from new to closed
  • resolution set to invalid

I'm not totally sure what you are saying but this appears to be invalid HTML. Many browsers will attempt to "figure out" what you are trying to do when the HTML is invalid and make "appropriate changes" which can result in unexpected results. I suspect from my limited testing this is the case. If you have a test case with valid HTML that causes this problem please reopen this ticket with a new test case.

Note: See TracTickets for help on using tickets.