On Tuesday, October 31, 2006 1:57 PM Chris W. Parker <> said:
> 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?
I found out why. Apparently I wasn't looking at the FULL documentation
pages* originally. Load() does a POST and $.get() does GET. My php page
was looking for GET.
Chris.
* Now there are THREE different places to get documentation that I'm
aware of.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/