问题描述:

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.

相关阅读:
Top