Jquery 304错误响应 [英] Jquery 304 error response

查看:466
本文介绍了Jquery 304错误响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我有这个jquery函数,但是在客户端,抛出304错误响应。我不清楚,这个错误来自何处。如果有人可以指导我采用正确的方法,那将非常感激。

Dear all,

I have this jquery function, however on the client-side, is throwing a 304 error response. I am little unclear, where this error is arising from. If someone could direct me to the right approach, which would be very much appreciated.

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="<%=Page.ResolveUrl("~/quicksearch.js")%>"></script>
<script type="text/javascript">
    $(function () {
        $('.search_textbox').each(function (i) {
            $(this).quicksearch("[id*=GridView1] tr:not(:has(th))", {
                'testQuery': function (query, txt, row) {
                    return $(row).children(":eq(" + i + ")").text().toLowerCase().indexOf(query[0].toLowerCase()) != -1;
                }
            });
        });
    });
</script>





谢谢



Thank you

推荐答案

function (){


' .search_textbox')。each( function (i){
('.search_textbox').each(function (i) {


(< span class =code-keyword> this )。quicksearch( [id * = GridView1] tr :not(:has(th)),{
' testQuery' function (query,txt,row){
return
(this).quicksearch("[id*=GridView1] tr:not(:has(th))", { 'testQuery': function (query, txt, row) { return


这篇关于Jquery 304错误响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆