Load iframe with jQuery (work with Firefox)
1 2 3 4 5 6 |
jQuery(document).ready(function ($) { $(".button_link").click(function () { $('#iframe_container').show(); $("#iframe_container").attr("src", "https://www.google.com/"); }); }); |
1 |
<iframe id="iframe_container" src=""></iframe> |