Script Categories

Forms >>> Htm Preview.

Preview HTML in a new window by entering it into the form. This script allows you to pass anything to a new window.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function displayHTML(form) {
var inf = form.htmlArea.value;
win ="", 'popup', 'toolbar = no, status = no');
win.document.write("" + inf + "");
//  End -->
name="htmlArea" cols=45 rows=6>
<input type="button" value=" view " onclick="displayHTML(this.form)">

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).