Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
How to refresh a iframe
Thariq Mohammed
Greenhorn
Posts: 14
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i wanna refresh a iframe which im using inside my page. is there is any in build method to do that. guys plz help me. its very urgent.
Thariq Mohammed<br />SCJP 1.4
Eric Pascarello
author
Posts: 15385
6
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
In the future please use proper English when asking questions since we have people using the forums from around the world that do not understand English that well.
To refresh an iframe it can be done by using the location object:
parent.iframeName.window.location.reload();
Eric
Thariq Mohammed
Greenhorn
Posts: 14
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Sorry Eric. here after i will take care.
I tried with that code but its showing error.
i also tried
parent.iframename.location.href="URL"
its not showing error. but it is not refreshing.
Thariq Mohammed<br />SCJP 1.4
Eric Pascarello
author
Posts: 15385
6
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
did you change the name of the frame in that line to match yours?
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Refreshing a particular portion of a web page
Getting a String out of a dropdown menu
IFrame tag sometime create blank box
reminder pop up
Automatic Refresh for a specific value
More...