Hi Ben,
Please provide me the URL so i can check the requirements well.
Thanks,
Fahad
Hi and thanks for your help!
The URL is http://123findu.com/ and by clicking on “Weitere Suchkriterien” the search fields incl. date field appear.
There I want to insert in the left field “Datum von…” the actual date (today) and in the right field “…bis” todays date but one year in advance (So both fields always cover a date range of one year).
Would be great if you can have a look.
Thanks a lot
Ben
Dear Ben,
This is how you can set your required date in somewhere your footer.php like this
<script>
jQuery(“#yourinput”).datepicker( “setDate” , “7/11/2011” );
</script>
And it’s 2nd part of your question:
How to set future date with next year, right?
<script>
jQuery(“#yourinput”).datepicker( “setDate” , new Date(2018,8,01) );
</script>
Hi and thanks a lot for your answer.
I’ll try it.
Best regards
Ben