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) {
( 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