Embed tag in HTML

-1

Inside the atiqueta embed I have a pdf, when it is already loaded in the firebox console I can see the contents of the DOM and I see that the label emdeb has from son to #document that it has as a son a label <html> and this assumes many div , ect. How can I access these tags by jquery? try like this: $('#embed > #document') and do not leave me.

Following the path (emdeb> # document> html), within html there are many tags, for example <div id="outerContainer"> , How can I get the html of this div ?, try doing this $("#outerContainer").html() and it does not work.

    
asked by Jesus Rolando 17.02.2017 в 20:39
source

1 answer

0

If you use # in jquery to select elements indicating that it is an id, what you need is to call the label as such:

$(documet).ready(function(){
    $("embed").find("document", function(){
         //aqui el resto del codigo
    });
});

I hope it's helpful

    
answered by 14.03.2017 в 04:43