I`ve the follow code:

$(function() {
$("#datepicker").datepicker({minDate: '1/1/2009', maxDate:
'10/10/2010'});
});

In this ame page, I`ve this field:

<input type="hidden" value="02/02/2009" name="date1" id="date1" />

I would get the date of field with name: date integrate with jquery
like this:


-----
var hotdate = document.getElementById('date1').value;

$(function() {
$("#datepicker").datepicker({minDate: 'hotdate', maxDate:
'10/10/2010'});
});
-----

Its not work, only example hehe.
Anybody can help me?
Thanks

Reply via email to