![]() ![]() the hotel select option is populated depending on the chosen city which then updates the iframe src. ![]() I'm working with a city select option, a hotel select option & an iframe. ![]() To close the popup, the following is invoked: Now when the popup is closed, I would like the parent page to automatically refresh. The popup is opened from its parent page with the following onclick event: and i still need a way to refresh the main page too. #REFRESHING IFRAME CODE#My page inside the iframe is ultimately "local" so it sounds like the above code should work, but i'm not sure what event would be best to trigger this javascript. I did find this solution on a different website:ĭocument.getElementById(FrameID).(true) It would be ideal if when they refresh the main page, the iframe gets updated too. I have added a line to make it auto refresh on it's own.īut the users find it annoying that the page refreshes while they're reading it. But the iframe isn't updated unless i explicitly right-click inside the frame and manually select refresh. It does get the latest data from the external site and its saved in "somepage.html". My problem is that when i refresh the main page, i want the iframe to also display the latest data. (i wrapped a div tag around the iframe so technically, i'm doing something like: "divtabframe.innerHTML = ') save it to a file, and then finally, i display this stuff in an IFRAME. Then i modify the html i get to suit my needs. i have a classic asp page that is using the winhttprequest object to get the contents of website from a different server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |