jqSajax: documentation

Documentation

  • method: jqSajax($mode,$syncronous,$json) define the call mode, syncronous/asyncronous call, and json/text mode.
    $mode:
    0=function
    1=jquery plugin
    2=jqSajax method
    $syncronous: 1=true,0= false
    $json: 1=json,0=text
  • method: processClientReq() perform client request.
  • method: showJs() print method/function as javascript representation.
  • method: fhasil() handle the result, see the syncronous/asyncronous property.
  • method: fhasilc() help the fhasil() method.
  • property: request_type define POST or GET,the default is POST.
  • property: friendly_url If your system use friendly url that not use ? sign in the query string, define as 1.
  • property: as_method Export php method/function as method. see the jqSajax() method
  • property: as_jquery_plugin Export php method/function as jQuery plugin. see the jqSajax() method
  • property: asyncronous syncronous/asyncronous mode. if sincronous You can get the result directly.if asincronous, the result can be modified with redeclare fhasil() method. see the jqSajax() method
  • property: use_jsonUse JSON mode if your PHP support JSON. see the jqSajax() method

Related post