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.
精彩评论