Access iFrame Elements

by Subramanian 2013-02-16 17:17:31

Access iFrame Elements using jquery




<html>
<head>
<script src="jquery.js" ></script>
<script>
$(function(){
var iFrameCont = $("iframeID").contents();
iFrameCont.find(".message").slideUp();
});
</script>
</head>
<body>
<iframe src="http://www.hiox.org" id="iframeID"></iframe>
</body>
</html>
819
like
0
dislike
0
mail
flag

You must LOGIN to add comments