User | Post |
Boom.dk
Posts: 131/392 |
Originally posted by Jesper That's the worst abuse of Javascript I've seen. Use meta refresh instead, if you have to refresh the whole page. Or do the really right thing and use remote loading via hidden elements (iframes) without refreshing the whole page
Haha |
Deleted User
Posts: 1/12 |
tja, jag |
Jesper
Posts: 969/2390 |
That's the worst abuse of Javascript I've seen. Use meta refresh instead, if you have to refresh the whole page. Or do the really right thing and use remote loading via hidden elements (iframes) without refreshing the whole page |
Boom.dk
Posts: 102/392 |
COULD this be what is needed?
<script> function time(){ var t; t=setTimeout("update()",5000); } function update(){ history.go(0); time(); } time(); </script> |
FreeDOS
Posts: 755/1657 |
I'm going to clear this title up in this post:
This has nothing to do with PHP. Unless you're using an HTTP redirect to the page again. This has nothing to do with Java. It deals with JavaScript. |
Boom.dk
Posts: 91/392 |
Have I not understanded what you want to do or can an auto refresh script work? |
Modereb
Posts: 60/75 |
Originally posted by Black Lord What are you talking about... if you query everything you should be fine...
That's how newbies unaware of resource and database usage do it. |
SyntaxLegend
Posts: 90/222 |
then i would also add and change querys every time someone gets added and deleted. i thought you would be able to refresh querys dynamically. |
Black Lord
Posts: 64/453 |
What are you talking about... if you query everything you should be fine... |
SyntaxLegend
Posts: 89/222 |
but the thing is constanly changing, so i dont want to go in the file and edit the properties everytime someone gets promoted. |
Jraregris
Posts: 17/36 |
Why not load everything at once when the page loads, and then, with the magic of java, select what info to display without actually querying? |
SyntaxLegend
Posts: 88/222 |
well, im trying to do something in PHP with a bit of java, i want an SQL query to refesh when i click a button from a list of users, i want it to load the list of forums that user is modding. So i have a combo box of users, i press a button next to it, and under it another combo box appears with the names of the forums that user i selected is modding, i can get the box to appear, but i cant get the SQL query to refresh. Any help? i hope i was clear on this. |