> I've just run into a problem where running append and passing in more than  
> one item of text causes IE7 to completely crash (IE8 gives a JS error and  
> FF works fine).

Yep, it's reported here:

http://dev.jquery.com/ticket/4011

The fix is pretty easy; in jQuery.clean just change this:

 var ret = [], div = context.createElement("div");
 jQuery.each(elems, function(i, elem){
     if ( typeof elem === "number" ) {

to this:

 var ret = [];
 jQuery.each(elems, function(i, elem){
     var div = context.createElement("div");
     if ( typeof elem === "number" ) {

I can't begin to explain IE's behavior here, but this seems to appease
it.

--

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


Reply via email to