jquery - Setting a concrete date to start the datepicker -


i doing calendar jquery datepicker , have set initial date in '1/1/2013'. means first date shows datepicker must that. have tried that:

 $(function() {    $('#datepicker').datepicker({mindate: '01/1/2013'})  }); 

but dont obtain searching for. reading in page , found example:

$(function() {    var date = new date(); // replace date    $('#datepicker').datepicker().val(date.asstring()).trigger('change'); }); 

but doesnt work.

if can me, pleased

try this:

$('#datepicker').datepicker("setdate", new date(2013,00,01)); 

fiddle


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -