Thursday, September 6, 2007

Javacript location reload

- To refresh current iframe


parent.frames['contentBox'].location.reload();

- To refresh current page

document.location.reload()

one good example, after ajax session timeout, invoking this will be taken to logon page.

No comments: