tags:

views:

36

answers:

1

Hi, 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(datevalue);

any help would be appreciated.

+1  A: 

got it, using EncodeURIComponent.

danielea