Bug Tracker

Opened 13 years ago

Closed 12 years ago

#6673 closed bug (invalid)

$("body").wrapInner("<div id='wrapper'></div>") results in blank screen.

Reported by: [email protected] Owned by:
Priority: undecided Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: wrapInner Cc:
Blocked by: Blocking:


On most of the pages which has scripts $("body").wrapInner("<div id='wrapper'></div>") command results in blank screen.

Change History (1)

comment:1 Changed 12 years ago by addyosmani

need: ReviewTest Case
Priority: undecided
Resolution: invalid
Status: newclosed

In order to correctly see output when using .wrapInner() you will need to ensure that the containing page actually has content on it that is visible (for example text or other valid elements). In addition, you may not be defining specific CSS styles for the element you are inwardly-wrapping (ie. 'wrapper'), which would result in no visible changes (at least on-screen).

Please re-submit your ticket with a valid test case so that we can look into this further.

Note: See TracTickets for help on using tickets.