Re: [jQuery] load won't post params
hi Jörn ok, here's my code: $(document).ready(function() { p = {}; p[id] = test; p[value] = this is only a test; $(p).bind(click, function() { $(this) .before(div id='feedback' style='background-color:#0f0'/div); $(#feedback) .load(test.php, p); }); }); in the body, there is only a paragraph (to click), while the php is only plain echo stuff.. i've attached screenshots of both behaviors (one in jquery 1.1 and the other 1.0.4).. did the load function change somehow in jquery 1.1? thanks! [g] loaderrorjq11.png Description: PNG image loadgoodjq104.png Description: PNG image ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to This has been fixed in SVN. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
just recently? ok, i'll check. thanks mike :) On 1/16/07, Mike Alsup [EMAIL PROTECTED] wrote: I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to This has been fixed in SVN. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
I already downloaded the latest revision, 1073. but still found the fn.apply is not a function error after calling load(url, data). is this the right revision with that fix for load? sorry for being stupid. thanks, [g] On 1/16/07, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: just recently? ok, i'll check. thanks mike :) On 1/16/07, Mike Alsup [EMAIL PROTECTED] wrote: I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to This has been fixed in SVN. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
On 1/16/07, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: I already downloaded the latest revision, 1073. but still found the fn.apply is not a function error after calling load(url, data). is this the right revision with that fix for load? sorry for being stupid. No, it's not in 1073. I just fixed it this morning. You can get ajax.js here: http://jquery.com/dev/svn/trunk/jquery/src/ajax/ajax.js?format=txt Or you can temporarily patch your own jQuery file using the work-around found here: http://jquery.com/discuss/2007-January/021767/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
ah.. ok.. i know i was doing something stupid. :) thanks again mike [g] On 1/16/07, Mike Alsup [EMAIL PROTECTED] wrote: On 1/16/07, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote: I already downloaded the latest revision, 1073. but still found the fn.apply is not a function error after calling load(url, data). is this the right revision with that fix for load? sorry for being stupid. No, it's not in 1073. I just fixed it this morning. You can get ajax.jshere: http://jquery.com/dev/svn/trunk/jquery/src/ajax/ajax.js?format=txt Or you can temporarily patch your own jQuery file using the work-around found here: http://jquery.com/discuss/2007-January/021767/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] load won't post params
Hi all, I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to url. How should I use the params now? I've checked through firebug and usually (jQuery 1.0.4) it shows the post variables but now it doesn't (so no params sent). Is this intentionally a feature? or I need to use another ajax method instead of load (which i hope not.. because this means a lot of recoding :))? thanks [g] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
Guntur N. Sarwohadi schrieb: Hi all, I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to url. How should I use the params now? I've checked through firebug and usually (jQuery 1.0.4) it shows the post variables but now it doesn't (so no params sent). Is this intentionally a feature? or I need to use another ajax method instead of load (which i hope not.. because this means a lot of recoding :))? Can you give us an example page? That helps alot tracking down wheter the problem is within jQuery or your code. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/