Jquery append ()

Can the

jquery append method add a div box for the current page and write the box name directly? Or how to add a div box, including many other subboxes, how to write

I directly write that the display is not complete

Jun.17,2021

you can first get the jquery object of the box on the page, then clone it, and then append
var $box = $('- sharpbox'). Clone ();
$('.container'). Append ($box);

).

then pay attention to what your $(this) is and determine whether it is the container into which you intend to append

Menu