Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10372

    Hello! I am using flashlight theme. Whenever I write on head the following code the Galleries stop working (i can see the datepicker on my form though)… so where is the conflict can anyone help?

    <link rel=”stylesheet” type=”text/css” media=”screen” href=”//”>

    <script src=”//”></script>

    <script src=”//”></script>




    var pickerSetup = function(css, date) {

    var el = $(css);

    if ( el ) {

    el.datepicker({dateFormat:’dd/mm/yy’, firstDay:1, mandatory:true, minDate: 0, maxDate:’+2y’});

    el.datepicker(“setDate”, date);

    } else {

    window.console && console.error(“Could not find form element: ” + css);



    pickerSetup(“#checkin”, “+0”);

    $(“#checkout”) && pickerSetup(“#checkout”, “+1”);




    hey! The script probably throws a javacript error due to a syntax error. If you post the url to your page with the code added we can check with the help of firebug if an error is thrown and in which line it is located

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘jQuery datepicker’ is closed to new replies.