IdRef for developers

4.3. JavaScript code to add to your application

An example of the javascript code is available here:

It is explained that:

the envoiClient() function allows orders and values to be entered in IdRef.

And that:

the traiteResultat() function allows the client application to recover information.

These functions exist as form.js and can be altered as at your inclination.