View Full Version : what is the equivalent in javacript of PHP's htmlspecialchars($str) / htmlspecialchar
leonidassavvides
03-09-2009, 09:42 AM
what is the equivalent in javacript of PHP's htmlspecialchars($str) / htmlspecialchars_decode($str) ???
How about these?
htmlspecialchars (http://kevin.vanzonneveld.net/techblog/article/javascript_equivalent_for_phps_htmlspecialchars/)
and
htmlspecialchars_decode (http://kevin.vanzonneveld.net/techblog/article/javascript_equivalent_for_phps_htmlspecialchars_decode/)
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.