Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q314 How can I click a button in another frame that simulates clicking a button in another frame?

You are here: irt.org | FAQ | JavaScript | Frame | Q314 [ previous next ]

Try:

<FORM>
<INPUT TYPE="BUTTON" onClick="parent.frameName.document.formName.buttonName.click()">
</FORM>

Or:

<FORM>
<INPUT TYPE="BUTTON" onClick="parent.frames[0].document.formName.buttonName.click()">
</FORM>

Feedback on 'Q314 How can I click a button in another frame that simulates clicking a button in another frame?'

©2018 Martin Webb