Skip to content

Instantly share code, notes, and snippets.

@woogist
Created June 24, 2015 08:37
Show Gist options
  • Save woogist/0fcbe1d1a5527e9d98f6 to your computer and use it in GitHub Desktop.
Save woogist/0fcbe1d1a5527e9d98f6 to your computer and use it in GitHub Desktop.
// Check the name of your addon field in the source. Example: addon-7934-test-addon
jQuery( 'input[name="addon-90-adventure-dates[check-in]"]' ).datepicker( {
minDate: 0,
"dateFormat": 'yy-mm-dd'
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment