thomasdavis / backbonetutorials

As single page apps and large scale javascript applications become more prominent on the web, useful resources for those developers who are jumping the ship are crucial.
http://backbonetutorials.com
2.3k stars 1.71k forks source link

JQuery doesn't see .html() for script tags in Safari 7.0.2 #98

Closed seanhig closed 10 years ago

seanhig commented 10 years ago

I am using JQuery 2.1.0... just thought I would mention that the beginner example wasn't working for the New/Edit buttons because the .html() was coming back undefined in Safari.

When I switched to .contents(), it worked. Haven't done a full browser compat test yet, but thought this might be of use.