Christopher
Retired
- Messages
- 14,659
- Reaction score
- 8
- Points
- 0
So I'm trying to make it that when reload=1 is added to the URL, the page refreshes upon doing this one action. I know it works if I don't check if reload=1. But I can't figure out how to check.
BTW, I don't know a thing about javascript. I did this by copying some code
Here is what I have. But it doesn't work.
Thanks for any help! There might be a credits reward
BTW, I don't know a thing about javascript. I did this by copying some code
Here is what I have. But it doesn't work.
Code:
var queryString = url.replace(/^[^\?]+\??/,'');
var params = tb_parseQuery( queryString );
Code:
if(params['reload'] == 1){
location.reload(true);
}
Thanks for any help! There might be a credits reward
Last edited: