[thelist] [OT] Web Server Worm Infects 12,000 Web Servers

.jeff jeff at members.evolt.org
Thu Jul 19 12:09:03 CDT 2001


christina,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Christine Korza
:
: Use javascript warnings to warn a user
: of the ramifications of clicking on a
: link. Example: A delete button.
:
: <a href="message.delete.php?id=$id"
: onClick="if(confirm('OK to delete this
: message?')) {return true;} return false;">
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

or better yet, just use the confirm() method as the boolean value for the
return statement:

onclick="return confirm('Really?');"

http://evolt.org/article/thelist/17/8869/

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list