Side navigation
#1940 closed bug (invalid)
Opened November 16, 2007 07:59PM UTC
Closed November 16, 2007 08:36PM UTC
wrap method doesn't work in FireFox (2.0.0.9) when pass parameter as string ...
Reported by: | romitch | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.2 |
Component: | core | Version: | 1.2.1 |
Keywords: | firefox wrap | Cc: | |
Blocked by: | Blocking: |
Description
When passing parameter to $('..').wrap as string (e.g. "<div ..> </div>" ) - causing error in FireFox....
Works fine in IE7
See attached test html page for details....
I've just realized that the problem is in the space between opening and closing tags :
$("#testMe2").addClass("innerDiv").wrap("<div class='outerDiv'> </div>");
.. .wrap("<div class='outerDiv'></div>"); works fine
I don't know how to delete this...