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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -