当前位置: 动力学知识库 > 问答 > 编程问答 >

Find and use class from outside of a iframe whit jQuery

问题描述:

How to gat a class from outside of the iframe and insert it inside?

Here is example what i am trying to do:

<div>

<div class="ClassToGet">

<div>

<div>

<iframe src="index2.html">

<html>

<head></head>

<body>

<script>

alert(aboveClass);

</script>

</body>

</html>

</iframe>

<div>

<div>

<div>

<div>

Any script will be helpful.

分享给朋友:
您可能感兴趣的文章:
随机阅读: