i choosing date submit. want keeping date on form when redirected web page.
https://jsfiddle.net/92gd7v26/
i tried it's not working:
$name7=$_session['date']; $name8=$_session['date2']; $name9=$_session['date3']; <script>// <![cdata[ $( function() { $( "#datepicker" ).datepicker(); $( "#datepicker2" ).datepicker(); $( "#datepicker3" ).datepicker(); $('#datepicker').datepicker({ inline: true, showothermonths: true, }) $("#datepicker").datepicker("setdate", $name7); $("#datepicker2").datepicker("setdate", $name8); $("#datepicker3").datepicker("setdate", $name9); } ); // ]]></script>
i don't know what's wrong. able "date" values $name7,$name8 , $name9. when try put them on .datepicker("setdate") not getting values sent..
Comments
Post a Comment