Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js set iframe code

var html_string= "content";
document.getElementById('output_iframe1').src = "data:text/html;charset=utf-8," + escape(html_string);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #set #iframe #code
ADD COMMENT
Topic
Name
9+3 =