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/