Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Nested IFrames

$
0
0
I understand how to use FuncUnit with an IFrame on the page that is under test (i.e. F("element-selector", 0) or F("element-selector", "frame-name"). Is there an easy way to use FuncUnit on elements of a nested IFrame?

example:

<html>
<head>
      <script src="jquery.js"></script>
      <script src="qunit.js"></script>
      <script src="func-unit.js"></script>
</head>
<body>
      <iframe name="frame-name">
            <!-- content loaded into frame -->
            <iframe name="nested-iframe">
                  Elements I want to be able to use FuncUnit with.
            </iframe>
      </iframe>
</body>
</html>

Viewing all articles
Browse latest Browse all 3491

Trending Articles