View Full Version : click on a button inside Iframe from the outside...

08-16-2008, 08:07 AM
Hey all i am having some trouble trying to get my code to work. I am in need of clicking a button that's inside an iframe page. Here's how its layed out:

|-iframe1(TabFrame) (page1.asp)
|-iframe2(AnotherFrame) (page2.asp)

The main.asp have the javascript that calls the click for the iframe button:


I don't have an error when clicking but it never does what it suppose to do...

This is the button code inside the iframe:

<input type="button" name="buttonDown" value="buttonDown" id="buttonDown" onMouseDown="Scroll('MainDivBox',10);" onMouseUp="clearTimeout(stopit);" style="visibility:hidden">

Any help would be great :)