jquery get iframe content
$("#myiframe").contents().find("#myContent")
<!-- Example : http://simple.procoding.net/2008/03/21/how-to-access-iframe-in-jquery/-->
<!-- Doc : https://api.jquery.com/contents/ -->
jquery get iframe content
$("#myiframe").contents().find("#myContent")
<!-- Example : http://simple.procoding.net/2008/03/21/how-to-access-iframe-in-jquery/-->
<!-- Doc : https://api.jquery.com/contents/ -->
jquery iframe use from js style
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.6.3.min.js"></script>
<script>
$(document).ready(function() {
$('#iframe').load(function() {
$("#iframe").contents().find("head").append("<style>.text_color{color:red;}@page{margin:0;}</style>");
});
});
</script>
</head>
<body>
<iframe src="iframe.html" id="iframe" name="iframe"></iframe>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us