Affichage des articles dont le libellé est light. Afficher tous les articles
Affichage des articles dont le libellé est light. Afficher tous les articles

mercredi 29 mai 2013

javascript/jQuery oneliner to remove iframes

jQuery("iframe").each(function(i,e) {var p=e.parentNode; p.removeChild(e);})
oh I think I saw a unnecessary variable declaration !
jQuery("iframe").each(function(i,e) {e.parentNode.removeChild(e);})

That's all Folks !!!

/me bugs out.