I'm having trouble getting this to work (perhaps it can't be done),
basically I want to access an element and I know it's parent is going
to be a <td> node and then I want to populate the <td></td> (or
innerhtml) with the contents of my remote file....anyone have any
suggestions?

$(document).ready(function() {
//This does not work:
$('#myelement').parent().load('http://remotefile.html');

//Nor does this:
var parent = $('#myelement').parent().get(0).load('http://
remotefile.html');

/Nor does this:
var parent = $('#myelement').parent()
parent.load('http://remotefile.html');

});

Thx in advance...

Reply via email to