开发者

URLencode dates inside of a javascript function

开发者 https://www.devze.com 2022-12-10 06:54 出处:网络
i need to URLEncode a date value that is taken from a datepicker control on my page. Currently I am trying to use the escape function to do this, but it is not working.

i need to URLEncode a date value that is taken from a datepicker control on my page. Currently I am trying to use the escape function to do this, but it is not working.

example: escape(d开发者_JAVA百科atevalue);

any help would be appreciated.


got it, using EncodeURIComponent.

0

精彩评论

暂无评论...
验证码 换一张
取 消