PHP Classes

File: jApi_client/js/functions.js

Recommend this page to a friend!
  Classes of Bijaya Kumar Behera   jApi RPC   jApi_client/js/functions.js   Download  
File: jApi_client/js/functions.js
Role: Auxiliary data
Content type: text/plain
Description: example file
Class: jApi RPC
Handle client and server API calls
Author: By
Last change:
Date: 11 years ago
Size: 1,010 bytes
 

Contents

Class file image Download
var jApi_default = { showParam : { onCall: function(p) { p['name'] = 'bijaya'; } } } var example4 ={ method: 'implement_event', onCall:function(params){ params['var2'] = 40 ; return true ; }, onComplete:function(sid, mname, var1, var2, sum){ alert("Sum of " + var1 + " and " + var2 + " is " + sum ); }, onError:function(name,message,fileName,lineNumber){ alert(name + "," + message + "," + fileName + "," + lineNumber); } }; var jApi_default ={ sum:{ onCall:function(params){ params['var2'] = 40 ; return true ; }, onComplete:function(sid, mname, var1, var2, sum){ alert("Sum of " + var1 + " and " + var2 + " is " + sum ); }, onError:function(name,message,fileName,lineNumber){ alert(name + "," + message + "," + fileName + "," + lineNumber); } }, error : { onError:function(name,message,fileName,lineNumber){ alert(name + "," + message + "," + fileName + "," + lineNumber); } } };