Getting the current src of an Iframe using JQuery [duplicate]

To get the iframe location using jQuery:

alert( $('iframeId').contents().get(0).location.href );

Leave a Comment