Posts tagged ‘dax’

DAX – one of a function of FullAjax, used for request a text data, xml, json, and similar (DataAjaX).

Example using DAX:

dax({url:'myurl', id:'save-data', form:'myform', method:'post', cb:function(resp, cbo){
	alert(resp.text || resp.xml)

Data from all field (input, textarea, select, …) of the form with id=’myform’ will be automatically collected and sent to url=myurl use post method.

id – it a internal thread id designed to separate streams of several trips to the server. At the same time, there can be multiple requests with the same id, the following query overrides the previous. Also use id allows to reuse already created in memory objects.

List of DAX options: (more…)