anyone know anything about javascript and why it isn't giving me errors but does nothing?

using html script tags with

$(document).ready(function(){
$("iframe").contents().find("#footer").hide();
});

names are correct but did i miss identifying something? does contents or function need to be defined?

ok so there's an undefined variable allegedly

Follow

@root hmm i dont immediately see anything wrong, you could try split that long statement over different variable so you can see which step is actually failing

@root
$(document).ready(function(){
var iframe = $("iframe")
var contents = iframe.contents()
var footer = contents.find("")
footer.hide();
});

@root or perhaps the iframe content needs it's own onload somehow, to make sure that's done loading too

@f0x i was actually wondering about that, it is / supposed / to ohnly search once the embed has been called but i may need to do something more complex to properly call it so it isn't trying to execute it prior to drawing the iframe

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.