jQuery move all children to another div -
i have div many childen. how move of them div using jquery?
 code looks like: 
jquery("body").append("<div id='popupwrapper'></div>"); var myid = $('.floatingframelightblue1').attr('id'); jquery(myid).children().append("popupwrapper"); but doesn't work. i'm doing wrong?
here have simple example of it: http://jsfiddle.net/lhr79/
as have told you. need use appendto instead of append , specify selector type (class, id... ) using . or # preceding name. in case: #popupwrapper popupwrapper id , not class.
Comments
Post a Comment