The client library can operate without going through a server file and directly call DQE servers. In this case, calls are no longer made in AJAX to your own servers but directly to the DQE servers in "JSONP".
This non-secure mode of operation is not recommended if the use of the library is open to any user of the web. It however allows a simpler deployment for internal use as it does not require any files on the server side.
To use the DQE library without a server, pass the "jsonp" value to the « server » parameter and provide a « license » parameter when calling the library:
$('#id_form').dqe({
server : 'jsonp',
license: 'LICENCE CODE PROVIDED BY DQE',
...
});
It is important to store the result of the call in a variable ("b2b" in our example). This variable will be necessary to be able to then launch the search.