Re: how to create (open) a dialog box [message #175096 is a reply to message #175095] |
Sun, 14 August 2011 18:59 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Robert Hairgrove wrote:
> Andre wrote:
>> The problem is, I want to ask a user if he really want to delete a record
>> from a database.
>> How to do this with a dialog box??
>
> This is a job for JavaScript in your browser.
Not necessarily.
> PHP doesn't have dialog boxes because it runs on the server, not on the
> client.
Wrong, but the question is probably off-topic here regardless.
<http://www.freeopenbook.com/phpcookbook/phpckbk-chp-20.html>
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
|
|
|