日期:2014-05-17  浏览次数:20448 次

jquery 传参数给后台
jquery 点击按钮传多个参数到后台进行向数据库插入数据操作

------解决方案--------------------
$.ajax({
                url: "./WLXQGL_CMRPEDIT.aspx?muID=RNCMRPEDIT",
                async: false,
                data: { 
                    parm01: "aaa",                   
                    parm02: "bbb"
                },
                type: "GET",
                cache: false,
                success: function (msg) {
                    
                },
                error: function (XMLHttpRequest, textStatus, errorThrown) {
                    //alert(errorThrown);
                }
            });


 data: { 
    parm01: "aaa",                   
    parm02: "bbb"

这里就是你要传的参数

------解决方案--------------------
refer:http://www.cnblogs.com/wdw31210/archive/2012/01/16/2323903.html