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> </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?