Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trigger for datepicker fields #5

Open
lazbog opened this issue May 22, 2015 · 1 comment
Open

Add trigger for datepicker fields #5

lazbog opened this issue May 22, 2015 · 1 comment

Comments

@lazbog
Copy link

lazbog commented May 22, 2015

$this.trigger('changeDate');

@Daijobou
Copy link

That is nonsense. In clearField() is already "$this.val('').change();" so all what you need is add
$('#your_datepicker_selector').on('change', function() { alert('changed'); });

Thats working fine here with datepicker from jquery-ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants