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 separate > arguments. > > In other words, you can't do this: > $().load({ url: "myurl", data: { stuff: junk }, function() { alert(' hey! > '); } }); > > You have to do this: > $().load("myurl", {data: here}, function () { //whatnot } ); > > Only the baseline ajax and ajaxSetup functions take an object as an > argument. > > -- Josh > > > > > ----- Original Message ----- > From: "Alexandre Plennevaux" <[EMAIL PROTECTED]> > To: "Jquery-en" <jquery-en@googlegroups.com> > Sent: Thursday, March 06, 2008 6:28 AM > Subject: [jQuery] $().load( ) issue: "url has no properties" > > > > > > Anyone knows what this error message means ? > > > > "url has no properties" pointing to jquery.js line 2401, which is > > the $().load() ajax call definition. (and specifically: that line: > > var off = url.indexOf(" "); ) > > > > i don't understand the error because i'm providing an URL and it > > works correctly out of the ajax call. In fact that function was > > working before i made some severe changes elsewhere in the code. > > > > Any hint / directions where to look for errors ? > > > > > > Thank you, > > -- > > Alexandre Plennevaux > > LAb[au] > > > > http://www.lab-au.com > > -- Alexandre Plennevaux LAb[au] http://www.lab-au.com