Reputation: 3517
using javascript, is there a way to replace the special character code's with the special character?
For example:
& becomes &
© becomes ©
Thanks!!
Upvotes: 2
Views: 2888
Reputation: 2690
Take a look here: http://www.strictly-software.com/htmlencode
The Encoder.js file from that page seems to do what you're asking for.
Upvotes: 2