Return to Snippet

Revision: 23925
at February 16, 2010 16:01 by vagrantradio


Initial Code
//find the div in the iFrame	
var oBody = $("iframe").contents().find("body");
 
//add the iFrame value to another div
$(oBody).appendTo("#another div");

Initial URL

                                

Initial Description
finds a specific attribute in an iFrame and loads it to another div on page.

Initial Title
GET VALUE OF IFRAME AND INSERT IT INTO A DIV

Initial Tags
javascript, html, jquery

Initial Language
jQuery