I have a standalone form where the following code works just fine on the jquery ui datepicker I was using. I am looking to switch my standalone form to gravity forms on my wordpress install and am having trouble getting the jquery code to manipulate the datepicker within gravity forms.
here is the code I had in the head area of my header
This code worked fine blocking all the desired days when using the stand alone datepicker. For some reason, these won't modify the GF datepicker at all (yes the #input_17_1) is the id for the datepicker within GF and this code is in the header of my wordpress theme.
Do you have any idea what changes I need to make to the code above to work with GF?
Thanks