Thursday, January 30, 2020

Using jQuery, pull from an external source into a staging ground and then put the guts of the staging grounds after another DOM element.

$("#stash").load("www.example.com", function() {
   $($("#stash").html()).insertAfter($("#actor"));
});

No comments:

Post a Comment