Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Then in iframe2, you have the second function I list below. In this article, we'll, Sometimes, we want to get the current location of an iframe with JavaScript. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Hey Magnor, yes!You would need to extract the sfds654fsgfg6sfg54gfhghdf6 parameter first. That blog entry also does a good job of defining the problem. You can copy and paste it into a .html file on your computer, and open it in your browser. Sometimes, we want to change iframe src with JavaScript. To learn more, see our tips on writing great answers. "Signpost" puzzle from Tatham's collection. index.html#home). If you wrap your