Best way to get the iframe object.

Posted by Umar Siddique on Stack Overflow See other posts from Stack Overflow or by Umar Siddique
Published on 2010-05-20T07:36:17Z Indexed on 2010/05/20 7:40 UTC
Read the original article Hit count: 353

Filed under:
|
|

Hi,

We are using too many iframes in out web application. In these iframes we load the pages which may also contains iframes and so on up to N level.

Right now i'm using recursive function to find out the required iframe object in JavaScript. It works fine, The issue is when we create large dynamic pages which may contains up to 1000 iframes in it. In this case my recursive function takes too much time to find the required iframe object.

How i can overcome this issue or these is any alternative of recursion in JavaScript.

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html