Re: User confirmation questions?

From: Date: Fri, 05 May 2006 17:21:27 +0000
Subject: Re: User confirmation questions?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-235658@lists.php.net to get a copy of this message
At 9:38 PM +0530 5/5/06, Rabin Vincent wrote:
On 5/5/06, tedd <tedd@sperling.com> wrote:
At 8:58 AM +0300 5/5/06, William Stokes wrote:
Hello, In PHP is it possible to generate "windows style" question boxes and get the users choice back? Or do I need javascript or something else for that? For example if a user hits a button in form I could ask for his confirmation for the action. Like "Do you Really wan't to drop the whole database?" Yes or No. And perform or cancel the action by user's decision. -Will
-Will: It depends. Typically no, but what you want can be done via a single click by switching style sheets through php (it need cookies though). See -- http://www.sperling.com/examples/styleswitch/ -- for an example and explanation.
Could you elaborate as to how switching stylesheets can provide a confirmation dialog box? Rabin
Perhaps I didn't fully understand the question. A confirmation dialog box, no -- but, a confirmation, yes. If he wants a dialog box, then a simple js alert will do. tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#235658) next »