开发者

URLencode dates inside of a javascript function

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜