$('<span> </span>').contents().length is 1 in firefox and safari, 0 in
ie (6 & 7).
(maybe hard to read: this is a span containing a single space)
I have a work-around: $('<span/>').text(' ').contents().length is 1
everywhere.

jQuery 1.2.6 & 1.3 both.

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