HTML 2 JAVASCRIPT

You Have Discovered Superior HTML 2 JAVASCRIPT.

Genuine Cross Browser / Operating System solution.

HTML2JAVASCRIPT
Free PDF Document explains the implementation of all the above.

How does this utility work?


Here is what you can do with your favorite text editor. If you are wanting to convert HTML to JavaScript,

You would search for \ and globally replace it with \\
Repeat the process.
Replace " with \" .
Replace ' with \' .
Replace , with \, .
Replace ; with \; .
Replace < with \< .
Replace > with \> .
Finally replace line endings with \n .

Remember, if you are using windows, line endings are a Carriage Return and a Line Feed.

All your code should now be on one line. Place document.write(" at the start of the line and )"; at the end of your line and you are in business.

If you are writing to a textarea named editor, You would put document.formname.editor.value = " at the start of the line and "; at the end of your line.
Or ... You could just use the

Webmasters, Here is the code to link to this page.

<a href="http://html2javascript.larrykeenan.com" target="new">HTML2JAVASCRIPT</a>



Valid XHTML 1.1! Valid CSS!

HTML 2 JAVASCRIPT at larrykeenan.com