471,120 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

iframe access javascript does not work in firefox

hi all ,
i want to access a form(name as form2) include in an iframe. so the "opDetails" is the name of the iframe.

var frameName = window.frames['opDetails'].window.form2.elements.length;

this cord segment is working in explorer but it does not work in firefox..

so please any one can explain the reason and the solution for this problem..?
Feb 16 '07 #1
1 2426
acoder
16,027 Expert Mod 8TB
Use
Expand|Select|Wrap|Line Numbers
  1. var frameName = window.frames['opDetails'].document.form2.elements.length;
See this page for more info.
Feb 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by christine.nguyen | last post: by
14 posts views Thread by Aaron Gray | last post: by
12 posts views Thread by mistral | last post: by
2 posts views Thread by Chris Riesbeck | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.