First time here? Check out the FAQ!

JQuery information.

0 votes
asked by about Virtual Rosary
edited by

How to get the current URL of Iframe using JQuery?

1 Answer

0 votes
answered by (193k points)

In order to get the URL(SRC) of Iframe using JQuery, I recommend you try using the following statement:

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

You can use Google search engine to find additional guides, tutorials and tips.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register