|
Posted by Schraalhans Keukenmeester on 03/14/06 19:46
I have a page consisting of three frames. Top frame shows db rows,
middle frame shows contents of a file, bottom frame has buttons to
change file/row status and/or delete them.
The desired bahaviour: after clicking the "change status" or "delete"
button in bottom screen, the top and middle frames immediately show
updated data.
Achieving this in a <a href [...] is not a problem, I use the following
Javascript line:
<a href="status.php" target='bottom'
Onclick="parent.frames[1].location.href='topcontent.html';
parent.frames[2]='centercontent.html'; return true;">link</a>
But another page I use only updates a db entry and has no clickable
items. Is it possible to have it automatically refresh any of the
frames' content without the user clicking a link, immediately after the
db query is executed ?
Tips welcome, as always!
Thanks in advance
Sh.
Navigation:
[Reply to this message]
|