[jQuery] Re: $().load( ) issue: "url has no properties"

2008-03-06 Thread Alexandre Plennevaux
hi thanks! but i found the bug to be actually elsewhere in my rubbish code :) On Thu, Mar 6, 2008 at 6:30 PM, Josh Nathanson <[EMAIL PROTECTED]> wrote: > > Alexandre, this happened to me a couple of days ago. Turns out I was trying > to send an object to the load method, but you have to send s

[jQuery] Re: $().load( ) issue: "url has no properties"

2008-03-06 Thread Josh Nathanson
Alexandre, this happened to me a couple of days ago. Turns out I was trying to send an object to the load method, but you have to send separate arguments. In other words, you can't do this: $().load({ url: "myurl", data: { stuff: junk }, function() { alert(' hey! '); } }); You have to do