Navigation Menu
Alphabetical Listing
Site Contents

Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner














Internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


General

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



Notes

Source Code

Paste this source code into the designated areas.

Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


User Comments

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

1. From: Kristi
Sometimes?
04/22/2008 22:31:47

I can get it to work. When i get it to work its awesome its easy, its pretty darn quick. But other times? It doesnt work for me. I dont know maybe my coding is messed up or something but its def HTML codes and its def NOT working!

2. From: Lee (Admin)
06/26/2008 11:40:35

In order to better help you, you'll need to post your question over on the forums.

3. From: cj
02/13/2008 12:39:56

This is the actual code for the BODY:
<form>
<textarea name="htmlArea" cols=45 rows=6></textarea>
<br>
<input type="button" value=" view " onclick="displayHTML(this.form)">
</form>

You only have:
<form>
<textarea name="htmlArea" cols=45 rows=6>

4. From: Lee (Admin)
10/31/2008 13:53:19

Thanks. It's actually there, it just wasn't displaying properly.


Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.