deletedata(url,success,failure,customupdate)

Delete a data in on the server using the url given

Parameters

- url : the url to send the delete verb

- success: function to call after a successful delete call

- failure : function to call if anything goes wrong on the server

- customupdate : set to true to not call default handling routine

function(jdata,who,fromurl){
// do your code for success or failure here
}

Function definition for success and failure are the same

deconnect.deletedata('/maindata/WebServer?ID="ELM0002"',null,null,true);

Just delete a record in WebServer table with ID="ELM0002" without giving any error or feedback to forms