jqSajax

授权协议 未知
开发语言
所属分类 jQuery 插件、 其他jQuery插件
软件类型 开源软件
地区 不详
投 递 者 宦烈
操作系统 未知
开源组织
适用人群 未知
 软件概览

jqSajax is PHP Class to build jQuery Plugin. You can export PHP Function, your personal function, your method, or your PHP Class and call it from Javascript directly with Ajax.You can get the result directly without reloading it.

var result=$.x_phpfunction(var1,var2);
or you can call like:
var result=$.x_object_method(var1,var2);
Example: to call helloworld($var1,$var2) function in PHP , you can write input button like this:
<input type="button" onclick="alert($.x_helloworld('jhon','28'))" />

jQuery Ajax return a page (data type is XML,JSON,text,script,html,etc), jqSajax return the result of PHP function/method you call. the variable type is the same the variable type in PHP. you can pass all variable types: array,string,number,boolean from javascript to PHP and vice versa. with jqSajax you can pass and get array (from javascript to PHP and vice versa) easier.
Please see the demo at http://satoewarna.com/jqsajax

相关阅读

相关文章

相关问答

相关文档