Possible Duplicate:
jquery select iframe children
I have many frames in my asp.net website. Since I don't know its layout and I need to update a <span>
value in a diferent diferent frame where my jquery code is, I do the following:
$('#myspan').text('sometext');
but anything changes. So I don't know if it's because jquery didn't manage to catch the element with this selector because is not in its scope or why.
However this:
alert($('#myspan'));
it shows an alert with [object][object]
as result.