Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

open a website within a website

javascript
$("#button").click(function () { 
      $("#iframe").attr("src", "http://www.google.com/");
});
html
<iframe id="iframe" src="" width="100%" height="400"></iframe><button id="button">Load</button>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #open #website #website
ADD COMMENT
Topic
Name
3+3 =