Confirming An <A>

May 22, 2002

Ok this is what I want to do

I have a link
<A HREF="blah">Delete</A>

when I click on it I want a confirm msg to pop-up and if the user presses NO then it won't load the page if YES then it will delete. I tried to do this but I don't know enough about JS yet so I gave up. Plus it's 2:00am here.

View 8 Replies


ADVERTISEMENT

JQuery :: Confirming User Action And Then Processing Form?

Oct 13, 2011

I have a form that has two input buttons. One of the input submit buttons is being used to delete data from a database. Whenever a user clicks that delete button I am trying to make it so that a confirmation message appears that confirms that the user wants to carry on with the action. Then if they click Ok, the form should continue processing otherwise it will fail.

<form action="<?php echo $_SERVER['php_self']; ?>" method="post" id="data" name="data">
<fieldset>
<table>
<tr>
<th>Check</th><th>Id</th><th>Added</th><th>Method</th><th>Host</th><th>Port</th><th>Time</th><th id="shell">Shell Location</th>

[Code]...

Currently, the confirmation message works great but I can't get the form to submit once I click.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved