Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create a tag object in jQuery

var container = document.createElement("div");
var object = document.createElement("object");
var iframe = document.createElement("iframe");

$(container).append(object);
$(object).append(iframe);
$("body").append(container);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #tag #object #jQuery
ADD COMMENT
Topic
Name
5+9 =