Hello,
Considering the following two statements:
1:
$("div#one").load('numbers.php', {page: thisPage});
2:
$.get('numbers.php', {page: thisPage}, function(fileInput) {
$("div#one").html(fileInput);
});
Why does #2 work and #1 doesn't?
As far as I know I'm using #1 correctly. The problem seems to be that
the parameters are not being sent with #1 as they are with #2. I mean, I
get a response, but I don't see the key/value pair in the querystring.
Is there a typo there that I'm not seeing? The assignment of the
variable called thisPage does not change.
I looked through the API Documentation as well as the Visual jQuery site
but didn't find an answer.
Thanks,
Chris.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/