Reputation: 83
I don't know why doesn't work:
function Client(wuku) {
$("#show").load('source.php #showclientapp?weke=' + wuku);
};
I want to know how I can make this part ?weke='+wuku
work with #showclientapp
. I want to send the variable wuku
to source.php #showclientapp
.
Any answer would be really helpful.
Upvotes: 1
Views: 33
Reputation: 337560
The querystring should be provided to the PHP file not the selector, like this:
function Client(wuku) {
$("#show").load('source.php?weke=' + wuku + ' #showclientapp');
};
Upvotes: 1