5

我在一个while循环中有这个PHP:

echo "<td><a href='#' class='po'>" . $row['order_no'] . "</a></td>";

和这个jQuery:

$(".po").click(function(){
                var po = $(this).text();
                var dataString = 'po='+ po;

                $.ajax({
                  context: this,
                  type: "GET",
                  url: "projectitems.php",
                  data: dataString,
                  cache: false,
                  success: function(html) {
                    $(this).closest(".resultsItems").html(html);
                  }
                });

            });

但是GET的参数是这样的:

  _ 1291741031991
  po    102

po 是正确的,但到底什么是顶线?顺便说一句,这是来自 Firebug

4

1 回答 1

6

您已将缓存设置为 false,所以我猜这个数字是 jQuery 附加到查询字符串的“缓存破坏器”。

于 2010-12-07T17:02:30.173 回答