Hi! In a from I need to 'empty' a radio group when a date is selected with a datepicker in a date (text) field.
I tried 'onchange'
jQuery('input#afspraak').change(function () {
jQuery('#ftr-seminar input').prop('checked', false);
});
But this does not work. I now use this
jQuery('input#afspraak').click(function(){
jQuery('#ftr-seminar input').prop('checked', false);
});
This empties the radio buttons, but I actually only want to dot this if there is a date placed in the date field by the datepicker.
Is there any way I can have jQuery do something after the datepicker has been used? Who can point me in the right direction?
Kind regards,
Jip
I tried 'onchange'
jQuery('input#afspraak').change(function () {
jQuery('#ftr-seminar input').prop('checked', false);
});
But this does not work. I now use this
jQuery('input#afspraak').click(function(){
jQuery('#ftr-seminar input').prop('checked', false);
});
This empties the radio buttons, but I actually only want to dot this if there is a date placed in the date field by the datepicker.
Is there any way I can have jQuery do something after the datepicker has been used? Who can point me in the right direction?
Kind regards,
Jip