Are escape() & unescape() old?

It seems that these functions for escaping url in js are already deprecated! You should use functions with more longer names – encodeURIConmpnent(), decodeURIComponent(). Use them to encode/decode params for url.

http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp
http://www.w3schools.com/jsref/jsref_decodeuricomponent.asp

Books to read

Leave a Reply

Your email address will not be published. Required fields are marked *