Re: Browser windows close
| From: | George Nicolae | Date: | Thu, 09 May 2002 06:37:28 +0000 |
| Subject: | Re: Browser windows close | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96770@lists.php.net to get a copy of this message | ||
You can close a browser window with php because php is server side. You can
close a window with javascript (which is client side). the code (js) are :
<input type="submit" name="Submit2" value="close"
onClick="self.window.close()">
--
Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"Chris Grigor" <cgrigor@mweb.com> wrote in message
news:6F76E514B4D4EA469DACC8D4E2F2AF9B45DD53@mwjdc2.mweb.com...
More than likely this is an easy thing, I know its possible with Java
anyone know if theres a function in php that will shutdown your current
browser window.? for
example if I have a window open, with a button saying close window, I want
it to execute
a piece of code that will shut that window down... Ive never done this
before so
all help and criticism is welcome....
Chris