Skip to main content

Bug Tracker

Side navigation

#7619 closed bug (duplicate)

Opened November 24, 2010 03:32PM UTC

Closed November 24, 2010 03:48PM UTC

Last modified November 24, 2010 03:48PM UTC

selectors broken if id contains period

Reported by: mschaefers@scoop-gmbh.de Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

In the following example the console output is supposed to be "1", but as long as the ''id'' attribute contains a period, the ''find'' selector does not work.

jQuery 1.4.3 works as expected.

<html>
<head>
<script type="text/javascript"
	src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
</head>

<body>

<script type="text/javascript">
$(document).ready(function() {
    console.info($('div').find('input').length)
});
</script>

<div id="test.id"><input type="checkbox"></div>
</body>
</html>
Attachments (0)
Change History (2)

Changed November 24, 2010 03:48PM UTC by addyosmani comment:1

resolution: → duplicate
status: newclosed

Changed November 24, 2010 03:48PM UTC by addyosmani comment:2

Duplicate of #7533.