This html:
<body>
  <div id="demo">Lorem ipsum dolor sit amet.</div>
</body>

This jQuery:
$(document).ready(function(){
  alert($('#demo').contents().filter('[nodeType = 3]').length);
  alert($('#demo').contents().filter('[nodeType=3]').length);
});

both alerts are 1 in 1.2.6, 0 in 1.3_b1

Thanks, Marion
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to