Get back results after sending form to server

Hello,

I think it is simple, but I can not find how, maybe someone can help/

I have a script with a form. After submitting, the results are send to server by myform.send
The server puts it in database, and wants to give back a number.
How can I display the number in the original script?

regards,

laurens

It is solved.
Thanx for reading.

form.send("php/formextgensave.php?gwid="+gwid,"post",function(loader){  
	var message = loader.doXPath("//selectienr")[0].firstChild.data;
	alert(message);
})

formextgensave.php saves data in db and gives back a xml document

regards

hi :slight_smile:

correct, docs.dhtmlx.com/doku.php?id=dhtm … xform_send