Using datepicker on another element


  • Member
    kadekpradnyana
    February 24, 2018 at 11:18 am #3562

    Hello,
    I’d like to make a new field in booking form on want to use datepicker on it. So I made a custom code on Booking.js in Travel Booking path but it doesn’t work.
    So here is my code:

    $(‘.datepicker’).datepicker({
    dateFormat : ‘mm/dd/yy’,
    minDate : date_now
    });

    I place that code under $(‘input[name=date_book]’).datepicker({…})
    What I have missed ? please help me
    Thank you.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.