【发布时间】:2010-12-07 16:58:25
【问题描述】:
我在一个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 的
【问题讨论】:
-
href="#"?一只小狗刚刚死了。 icant.co.uk/articles/pragmatic-progressive-enhancement/#build