我不知道为什么不起作用:
function Client(wuku) {
$("#show").load('source.php #showclientapp?weke=' + wuku);
};
我想知道如何使?weke='+wuku
与#showclientapp
一起工作。我想将变量wuku
发送到source.php #showclientapp
。
任何答案都会很有帮助。
查询字符串应该提供给PHP文件,而不是选择器,如下所示:
function Client(wuku) {
$("#show").load('source.php?weke=' + wuku + ' #showclientapp');
};