Jump to content
shizzzzzzzz

DIV INNER IFRAME

Recommended Posts

shizzzzzzzz

Gostaria de saber se é possível remover divs dentro de um iframe que a pagina não seja a minha..

Share this post


Link to post
Share on other sites
rumbafum

Se não está no mesmo domínio não me parece fácil...

Se estiver no mesmo domínio podes tentar colocar o div invisivel. Usar contentwindow.document.getElementById ou contentdocument.getElementById sobre o iframe para isso

Share this post


Link to post
Share on other sites
shizzzzzzzz

@rumbafum, a ideia era de dominios diferentes (ex: <iframe src="www.google.com"></iframe> e retirar a div do logo ou de outra cena qualquer) nao sei se me fiz perceber.. Mas a ideia é: atraves de um iframe retirar div da pagina que meti em iframe..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.