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 http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function displayHTML(form) {
var inf = form.htmlArea.value;
win = window.open("", 'popup', 'toolbar = no, status = no');
win.document.write("" + inf + "");
}
//  End -->
</script>
<form>
<textarea
name="htmlArea" cols=45 rows=6>
</textarea>
<br>
<input type="button" value=" view " onclick="displayHTML(this.form)">
</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!).




©