Side navigation
#178 closed bug (fixed)
Opened September 04, 2006 04:47PM UTC
Closed September 16, 2006 03:50PM UTC
Last modified June 21, 2007 02:27AM UTC
IE fails with #element/* expressions
Reported by: | stephen@23z.com | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | core | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following gives an error inside the sibling function using IE - it works fine in Firefox. This happens with revision 249.
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script src="jquery.js" type="text/javascript"></script>
</head>
<body>
<div id="versionHistory" class="versionHistory" style="display: none">
</div>
<script type="text/javascript">
alert($("#versionHistory/*").size());
</script>
</body>
</html>
Added a test for this; Problem seems to be that jQuery tries to select child nodes without checking if they exist; occurs for me in both IE6 and FF1.5