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:05 am, joshm <joshmat...@gmail.com> wrote:
> 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 windows godaddy
> account....the other domain which it could pull from is a dedicated
> linux host.
>
> If you don't mind, why would we have to use JSONP ?  And do you have
> an example?
>
> Thanks,
>
> JM
>
> On Mar 1, 9:32 pm, Ami <aminad...@gmail.com> wrote:
>
> > If it's not on the same domain you must use JSONP.
>
> > On Mar 2, 7:27 am, mkmanning <michaell...@gmail.com> 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 <aminad...@gmail.com> wrote:
>
> > > > Try to put <div> between <td> and #myelemnt
>
> > > > <table>
> > > > <tr><td><div><div id=myelement>&nbsp;</div></div></td></tr>
> > > > </table>
>
> > > > Aminadav
> > > > On Mar 2, 4:15 am, joshm <joshmat...@gmail.com> wrote:
>
> > > > > Can someone explain how to do this, I'm trying to load the parent of
> > > > > an element (which will be a <td> cell) and then load the <td> with the
> > > > > html from a remote file kind of like so:
>
> > > > > var parent = $('#myelement').parent().load('http://test.com/
> > > > > remote.html');
>
> > > > > I have tried several other variations and the load always fails...no
> > > > > error messages, just doesn't seem to like it.  It may have something
> > > > > to do with it still being a jquery object perhaps?

Reply via email to