change src attribute iframe jquery not working code example Example: change src of iframe jquery $('#ifrm').attr('src', "http://www.google.com")