Here's the current code i've got (not functioning and getting errors in console):
var array = ["10/11/2015"]
$('item27_date_1').datepicker({
beforeShowDay: function(date){
var string = jQuery.datepicker.formatDate('dd/mm/yy-', date);
return [ array.indexOf(string) == -1 ]
}
});
</script>
I've tried many different variants of this and I seem to be hitting a brick wall now.
The above code has been placed in the head of the html form.
I've searched the forums and also found Eric's excellent tutorial which does something similar:
http://ericrohloff.com/coffeecup/ccforum/formbuilder/datepickerdays/
Has anyone successfully implemented this for a specific future date?
If yes I would really appreciate some input that could help.