![]() |
Refresh page under mootools lightbox
Ok i'm using this mootools lightbox type thing called squeezebox
When the squeezebox pops up it had a php form in it...and using the form works well and everything. However to see the results I need it so that when you close the box that the page that was behind it (the one you started on) refreshes. Now i don't know too much on how to write javascript code...but with some other things I did I was able to pass variables through a url when the the box closes (or whatever) and then on my page update my database. So I thought I could use that simliar code and and then when you closed the box that it would grab the variable and then i could use that to say refresh...with the header which usually works for me. However this time it does work to update the database (tested it to know that it was actually doing something when i closed the box) but that's not what I need...I need the page to refresh....automatically so that the results of what was done in the squeezebox will be visible...without the user manually refreshing. Code:
if(isset($_GET['r']))Thanks |
Would:
javascript Code:
|
yes that worked perfectly thanks!
|
| All times are GMT. The time now is 12:34 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0