вторник, 20 сентября 2011 г.

Кодирование спецсимволов

 escape(string) The escape() function encodes a string. This function makes a string portable, so it can be transmitted across any network to any computer that supports ASCII characters. This function encodes special characters, with the exception of: * @ - _ + . /
 encodeURI(uri) This function encodes special characters, except: , / ? : @ & = + $ #
 encodeURIComponent(uri) This function encodes special characters. In addition, it encodes the following characters: , / ? : @ & = + $ #

Комментариев нет:

Отправить комментарий