| Author |
How to retrieve the link clicked inside an iframe ?
|
Prasad Sonawane
Greenhorn
Joined: Jul 28, 2008
Posts: 9
|
|
Hi all.. I have a JSP where i have used an iframe to display the URL's dynamically. (URL's are being passed at run time) I want to retrieve the link's URL (i.e. href attribute value ) when user clicks on the link displayed inside iframe. Say for e.g. www.yahho.com is the URL displayed inside the iframe and now if i click on any of the link of page, i want to retrieve the href before the navigation happens. Is it possible to retrieve the href ? If so how to forward this href to my action class where i do further work. Any solutions in this regard ? Thanks in advance..
|
Regards ~
Prasad Sonawane, Member Technical Staff, CDAC, India.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
You can not read information from other domains so you can not spy on the user. You may be able to look at the iframe source, but that is about all. Eric
|
 |
 |
|
|
subject: How to retrieve the link clicked inside an iframe ?
|
|
|