How to use datepicker in mysite?

datepicker in my site.

Use datepicker in my site.

Add datepicker in my site using jquery.

follow below solution

The datepicker is tied to a standard form input field.
It’s Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay.
Choose a date, click elsewhere on the page.

If you want to add datepicker in your site,
Then write the following script where you want datepicker in you page.

<script>

$(function()
{

$( "#hopestart" ).datepicker();  // hopestar is a textbox id

$( "#hopelaunch" ).datepicker();  // hopelaunch is a textbox id

});

</script>

How to use datepicker:Using below textbox


<input type="text" id="hopestart" name="hopestart"/>

Click on below image is demo of datepicker.

datepicker in my site,datepicker in wordpress,
use datepicker,use datepicker in wordpress.

About the Author

avatar