$('iframe').load( function() {
$('iframe').contents().find("head")
.append($("<style type='text/css'> .my-class{display:none;} </style>"));
});
Sunday, 6 January 2019
How To - Get Iframe Elements and write css using jquery
You May Also Like
- #HTML
OwlCarousel 2 with items counter index methodJul 21, 2021
- #css
- #css
- #css3
Labels:
css3,
javascript,
jQuery
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment