SyntaxFix
Write A Post
Hire A Developer
Questions
Here is another way
$( '#iframe' ).attr( 'src', function () { return $( this )[0].src; } );