Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You shoulshould use the maxDate option when initializing the datepicker:

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate

You shoul use the maxDate option:

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate

You should use the maxDate option when initializing the datepicker:

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate

added 4 characters in body
Source Link
Nicola Peluchetti
  • 77k
  • 32
  • 150
  • 197

You shoul use the maxDate option:

$( ".datepicker" ).datepicker({ maxDate: '0' });

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate

You shoul use the maxDate option:

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate

You shoul use the maxDate option:

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate

Source Link
Nicola Peluchetti
  • 77k
  • 32
  • 150
  • 197

You shoul use the maxDate option:

$( ".datepicker" ).datepicker({ maxDate: '0' });

look here for reference: http://jqueryui.com/demos/datepicker/#option-maxDate