<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Roderick Divilbiss">
<meta name="copyright" content="© 2005-2010 Roderick Divilbiss">
<title>Create IFRAME JavaScript</title>
</head>
<body>
<div><h6>How can you create an IFRAME after the document loads?</h6></div>
</body>
<script language="javascript" type="text/javascript">
<!--
var n = document.createElement('IFRAME');
document.body.appendChild(n);
n.setAttribute('name','test');
n.setAttribute('id','test');
n.setAttribute('src','contact.htm');
//-->
</script>
</html>
Date Validation Using JavaScript .
Cross-Browser Clipboard Copy .
Loading Images With Remote Scripting .
Why JavaScript In Hyperlinks Is Bad .
Change The Submit Button To Show Waiting For AJAX Response .
European Date Validation Using JavaScript .
Database Results To Client Side Array .
Reading Files With JavaScript .
AJAX For Plain Text And HTML .