Hi w424637,
In order to achieve that, you may use the following 2 options:
1. With Ajax.
2. With two hidden input fields on your form – one for the start and another for the end date.
You can get the range via the “getRange” method. The “from” and “to” fields return the range’s start and end JavaScript dates. Having that, you can populate the hidden input fields or send ajax request. You can also get the range’s text parts using the following:
var text = $("#jqxWidget").val(); var date1 = text.substring(0, text.indexOf('-')); var date2 = text.substring(text.indexOf('-') + 2);
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com