PDA

View Full Version : Button submit and refresh page?



iced112233
11 Jun 2009, 08:49 AM
Hey guys.

I have a webpage made of 3 frames.
On one frame I a form to set a cookie to change the css.
However when the button is submited, I need it to refresh the whole page for the cookie to take effect.

I am using the http://php.about.com/od/finishedphp1/ss/css_switcher.htm script.

I understand that this can not be done with Javascript in the actual button.

So I am thinking that i would change my cookie.php which is linked to the button to set the cookie.