Re: [jQuery] Bug in 226: elem has no properties

2006-08-29 Thread Klaus Hartl


John Resig schrieb:
 I honestly can't duplicate this bug - I've tried it multiple times, on
 multiple pages - can you put up a test page  so that I can confirm
 this?
 

John, I could now reproduce it on another page. It happens if you query
for elements that are nested that level in one element but not in
another one. It is better explained by example code I guess.

Testpage here:
http://stilbuero.de/demo/jquery/nested.html

This is the structure (simplified):

div id=search-output
 h2Plazes:/h2
 div id=search-pager/div
 div id=search-results
 div id=results-list class=anchor
 div id=list/div
 /div
 /div
/div


If you do $('#search-outputdivdivdiv') you get the bug...


-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Bug in 226: elem has no properties

2006-08-25 Thread Klaus Hartl
Hi,

with revision 226 Firefox throws an error 'elem has no properties' if I 
use the following snippet:

$('#someIdul').size() or
$('#someIdul')[0]

if element #someId does not contain a ul.

Can someone second this?


Regards, Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/