...

View Full Version : triggering function from iframe



nickbfromct
04-08-2009, 11:52 PM
i remember there being a way to trigger a function on the parent page from a button/link in an iframe. does anyone know the syntax? or what section of w3schools i should look at?

nickbfromct
04-10-2009, 11:18 PM
well, since noone is gonna reply... i figured it out by MYSELF!
you can grab any object, id, name, anything from the main page via an iframe.
all you do is: on the iframe you have function that says:
parent.document.getElementById('id').innerHTML ="****ing bull****";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum