how to get date value in javascript

Hi


can you help me in getting a selected date value in datepicker using javascript alert.

Thanks In advance.

Shaheen sara wrote:

Hi


can you help me in getting a selected date value in datepicker using javascript alert.

Thanks In advance.


Hi,If you are using DatePicker then it provide us onSelect Event, there it fetch two input param.

-StartDate

-EndDate

You this Event to Pass StartDate to the Action where you want to use JS.


Whereas for JS , you can add input Param there & pass to it.






Solution

Shaheen sara wrote:

Hi


can you help me in getting a selected date value in datepicker using javascript alert.

Thanks In advance.


Hi Shaheen,

Use Date Picker and use its onclose,onselect events(which available in its property) for getting selected date. Thank you.

Solution