Hello Peter,
I have a DropDownList control bound to an adapter.
When my form initially loads, the control/adapter triggers an AJAX call. But there is no data to send at that point.
Is there a method for preventing or aborting an AJAX call before it goes to the server?
Thank you.
Gordon
source = {
datatype: "json",
type: "POST",
minLength: 3,
searchMode: "startswith",
datafields: [
{ name: 'orderNum' },
{ name: 'id' }
],
id: "id",
url: '/web/orderList/',
formatData: function(data) {
var ordNum = $('#orderSearchCtl_${id}').val();
if(ordNum !== '') {
$.extend(data, {orderNum : ordNum });
}
return data;
}
};