The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Create a div inside an existing one
this is the code:
var splashScreen = $('',{ id : 'splashScreen', css:{ backgroundImage : promoIMG.css('backgroundImage'), margin : promoIMG.css('margin'), height : $(document).height() } });
what i want is to specify a parent div that will contain this splashscreen div .what sould i add?