RE: [PHP] pop-up window in php???

From: Date: Mon, 29 May 2006 23:38:39 +0000
Subject: RE: [PHP] pop-up window in php???
Groups: php.general 
Request: Send a blank email to php-general+get-237048@lists.php.net to get a copy of this message
[snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES & NO. Submitting YES will request the same page from PHP but without the dialog div and with user interface fields enabled; NO will request the same page but without the dialog div and with UI fields disabled. From the user's point of view, the main difference between doing this with PHP and doing it with JavaScript is that the PHP solution will take at least a few seconds for the round-trip to the server whereas JavaScript's response to a confirm() dialog will seem instantaneous. [/snip] Interesting concept Paul, so you are saying that PHP can be used to generate something that looks like an alert box using CSS? Or are you saying that PHP would use an intermediary page to generate the behavior?

« previous php.general (#237048) next »