Change iframe source with jQuery
In order to change the source of an iframe with jQuery you have to change the src attribute of the HTML element
<iframe id="myFrame" src="http://www.example.com/"></iframe>
<script type="text/javascript">
$("#myFrame").attr('src', 'http://www.example.com/new-url');
</script>
Latest news
- - S5 Slide Show System: PowerPoint on Linux
- - µTorrent for Linux
- - Linux audio tagger
- - Gnome 3 release date - interview with Stormy Peters
- - Ubuntu Maverick Meerkat Beta Released
- - Ubuntu Maverick Meerkat frozen
- - Tab Candy for Firefox
- - Ubuntu font launched for beta testing
- - Interview with Richard Stallman
- - Linux Mint 9 KDE released
- - Gnome 3 release date delayed to march 2011