Convert HTML Entities | JavaScriptSource

Convert HTML Entities

JavaScriptSource Staff Jan 29, 2007

General

This script will convert entities (e.g., &, é) back into normal characters (e.g., &, é). Short and easy to use.

This is the original format:


¿Hablas bien el español?

Click to see conversion

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: convertHTMLEntity.js


Head

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


Leave a Response

(2 comments)

Thank you! The code worked like a charm! Such a little script, but great functionality!

Nirmal Natarajan Aug 27, 2008

Thanks, the code works perfectly. I've been 2 hours searching for this!

Acelgafrita Feb 18, 2008