For example:
<html><body><object data="" id="something"></object></body></html>
How can i select a tag in this object? Tks ^^
You need to get the iframe contents first to apply selector on it. You can use jQuery contents() function to get.
var objSomething = $('#iframeID').contents().find('#something');
You should call this script when iframe is loaded. You can use window.load to ensure that.
$(window).load(function(){
var objSomething = $('#iframeID').contents().find('#something');
alert(objSomething[0].id);
});
iframein the question about theobject. Do you mean selecting an element in theiframefrom its parent (the html page containing the iframe) ?