[jQuery] Re: parent load question

2009-03-02 Thread joshm
I can't really supply a working example, but suffice it to say I can seem to only get $.get to work not .load I went and read up more about about cross domain ajax and understand why it should not work now. Thanks for the heads up... On Mar 2, 8:18 am, mkmanning wrote: > You can't make ajax c

[jQuery] Re: parent load question

2009-03-02 Thread mkmanning
You can't make ajax calls across domains; can you give a code example of it working on the different server? If you haven't already, I suggest looking in Firebug on Firefox (make sure you have console and script enabled), it should show an error when a cross-domain ajax call is made. On Mar 2, 7:

[jQuery] Re: parent load question

2009-03-02 Thread joshm
It is not on the same domain...sorry the posting seems a bit screwy...posts took forever to show up etc... Anyways, it is not on the same domain, but oddly enough if I move the call to a different server (not the same domain) it doesn't have a problem. The domain that it can't load from is on a

[jQuery] Re: parent load question

2009-03-01 Thread Ami
If it's not on the same domain you must use JSONP. On Mar 2, 7:27 am, mkmanning wrote: > I'll go ahead and ask this here as well: is 'http://test.com/ > remote.html' in the same domain? > > On Mar 1, 8:55 pm, Ami wrote: > > > > > Try to put between and #myelemnt > > > > >   > > > > > Aminad

[jQuery] Re: parent load question

2009-03-01 Thread mkmanning
I'll go ahead and ask this here as well: is 'http://test.com/ remote.html' in the same domain? On Mar 1, 8:55 pm, Ami wrote: > Try to put between and #myelemnt > > >   > > > Aminadav > On Mar 2, 4:15 am, joshm wrote: > > > Can someone explain how to do this, I'm trying to load the parent of

[jQuery] Re: parent load question

2009-03-01 Thread Ami
Try to put between and #myelemnt   Aminadav On Mar 2, 4:15 am, joshm wrote: > Can someone explain how to do this, I'm trying to load the parent of > an element (which will be a cell) and then load the with the > html from a remote file kind of like so: > > var parent = $('#myelement').par