title: Datepicker: How to popup datepicker when click on button and store value in variable
body: <p>I want to show datepicker popup window. I have found some examples but i am not getting it properly. I have one button and i want that when i click on button the datepicker dialog should popup and after setting the date, the date should be stored in a variable. PLease provide me sample code or good links.</p>