Revision: 8922
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 14, 2008 09:08 by vasilije
Initial Code
function HTMLEncode(str){ var result = ''; for(var i=0; i<str.length; i++){ result += '&#' + str.charCodeAt(i) + ';'; } return result; }
Initial URL
Initial Description
Initial Title
JavaScript HTML character encoding
Initial Tags
javascript
Initial Language
JavaScript