:) hi there daniwebies,

can anyone have a sample of source code on reloading two frames in a page by a link? [php|javascript]

- setup is frame[one] and frame[two] is both located to index.php
- frame[two] have the link [[U]reload page[/U]]
- clicking frame[two] reload link should reload both frame[one] and frame[two] or the whole page rather

:X anyone have an idea?
thanks.

Recommended Answers

All 2 Replies

to reload the whole page:

<a href="#" onclick="top.location.reload(true)">Reload Page</a>

to reload the whole page:

<a href="#" onclick="top.location.reload(true)">Reload Page</a>

:) thanks man.
i hope this works.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.