Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 通过指定url在jqgrid中保存行_Jquery_Xmlhttprequest_Jqgrid - Fatal编程技术网

Jquery 通过指定url在jqgrid中保存行

Jquery 通过指定url在jqgrid中保存行,jquery,xmlhttprequest,jqgrid,Jquery,Xmlhttprequest,Jqgrid,我有一个jqgrid(grid_选择器),我想通过提供一个url来保存数据库中的行。 下面是我的代码 jQuery(grid_selector).jqGrid('saveRow',rowid, { successfunc: function( response ) { return true; }, url:

我有一个jqgrid(grid_选择器),我想通过提供一个url来保存数据库中的行。 下面是我的代码

            jQuery(grid_selector).jqGrid('saveRow',rowid, 
            { 
                successfunc: function( response ) {
                    return true; 
                },
                url:"dummy.php"
            }
            })
然而,我得到的错误

    jquery-3.5.1.js:10871 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated 

    because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ jquery-3.5.1.js:10871
    ajax @ jquery-3.5.1.js:10871
    saveRow @ jquery.jqGrid.min.js:15
    $.fn.jqGrid @ jquery.jqGrid.min.js:8
    $.fn.fmatter.rowactions @ jquery.jqGrid.min.js:17
    onclick @ viewlogin1.php:1
    jquery-3.5.1.js:10871 POST https://visitorpass.yeshasvee.com/dummy.php 404 

我也必须编辑jquery文件吗

因为没有活生生的例子,我建议你看看