0

因为我得到了一些 403 错误......那是因为我的服务器没有启用目录列表有人做过类似的事情吗?

谢谢。

4

1 回答 1

0

像这样?

/* 'somepage.php' is our script source.
   'username'     is our varible, jonathansampson is the value
   'result'       will hold anything the script sends back
   'text'         is the type of data we're expecting. */
$.get("somepage.php", {"username":"jonathansampson"}, function(result){

  alert(result);

}, "text");
于 2009-07-20T17:51:12.203 回答