jquery - Displaying datepicker on custom DIV -


i have bound jqueryui datepicker input , have custom div--i'd bind datepicker instead.

for example:

<input type="textbox" id="date">  <div id="datepickerdiv"> </div> 

script:

$("#date").datepicker(); // binding textbox. 

i want display datepicker in datepickerdiv div.

please me this...

you can initialize datepicker directly div.

$("#datepickerdiv").datepicker(); 

or

$("#date").on('click', function () {     $("#datepickerdiv").datepicker(); //initialze datepicker div }); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -