Skip to main content

Bug Tracker

Side navigation

#6673 closed bug (invalid)

Opened June 15, 2010 10:46AM UTC

Closed October 02, 2010 03:39AM UTC

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

Reported by: sharad.banka@gmail.c 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.

Attachments (0)
Change History (1)

Changed October 02, 2010 03:39AM UTC by addyosmani comment:1

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.