Open markengelhardt opened 8 years ago
When the user finishes picking the dates, I want to submit the form:
This code works, but I have to wait a while then submit the form:
onClose: function () { setTimeout(function(){$('form#frmDate').submit();}, 3000); }
At times, this code does not insert any data into the form.
onClose: function () { $('form#frmDate').submit(); }
Can this be fixed, or is there a more reliable way to submit the form when the user is done picking dates?
You should use onChange
onChange
When the user finishes picking the dates, I want to submit the form:
This code works, but I have to wait a while then submit the form:
onClose: function () { setTimeout(function(){$('form#frmDate').submit();}, 3000); }
At times, this code does not insert any data into the form.
onClose: function () { $('form#frmDate').submit(); }
Can this be fixed, or is there a more reliable way to submit the form when the user is done picking dates?