Skip to main content

Bug Tracker

Side navigation

#3005 closed bug (duplicate)

Opened June 08, 2008 01:34PM UTC

Closed June 20, 2010 07:06PM UTC

jQuery 1.2.6 crashes Safari 2.0.4 consistently when using appendTo()

Reported by: subchild Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: safari, append, appendTo Cc:
Blocked by: Blocking:
Description

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.

Thanks for making and supporting the ultimate JavaScript library.

Alex

(mlb.com team)

Attachments (0)
Change History (5)

Changed June 09, 2008 07:23PM UTC by rboren comment:1

Related #2974

Changed July 06, 2008 01:21PM UTC by subchild comment:2

I'm not sure what (if anything) changed, but I am no longer able to reproduce this bug.

Changed August 18, 2008 08:41AM UTC by rortelli comment:3

I've the same problem adding html content during an ajax call, using append(), preprend(), html()...

Changed December 01, 2008 08:23PM UTC by eric258 comment:4

Related to bug #3397. Characters not inside of tags crash Safari 2; #3397 contains a patch which works around the problem.

Changed June 20, 2010 07:06PM UTC by dmethvin comment:5

resolution: → duplicate
status: newclosed

Dup of #3397.