Ticket #3005 (closed bug: duplicate)
jQuery 1.2.6 crashes Safari 2.0.4 consistently when using appendTo()
|Reported by:||subchild||Owned by:|
|Keywords:||safari, append, appendTo||Cc:|
Appending a block of HTML (containing some div, img and anchor nodes) to the body element crashes Safari 2.0.4 consistently. The browser just shuts down once the dom ready code executes.
An example is here: http://www.subchild.com/j/1.2.6-safari-bug.html
Please view the source (in a different browser) to see some comments and alternate methods which produced same or similar results.
This problem did not exist in prior version of jQuery.
Note: while this technique for concatenating strings may not be popular or recommended, it is valid and should be supported in my opinion. That said, I'm not a huge fan of it myself.
Alex (mlb.com team)