Hi,
I am using below mentioned php code (only stated the code that related to the event) to delete a record in a table and it works well.
Now I want to modify this to, when the user click on the delete image the page redirect to a page that contains more information with delete button. Or if the user double click the delete image it will ask for delete confirmation. Both events should be occur on the same 'delete image'.Is this possible in php?
"<td align='center' id='delete'><a href='Delete.php?ID=" . $list['ID'] . "' onClick=\"return confirm('Delete " . $list['Name'] . " ?')\">
<img src='delete.gif' id='delete' title='delete' alt='delete' border='0'></a></td>
Identify 'single click' and 'double click' events..
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Identify 'single click' and 'double click' events..
Not the identification of the double and single click, that will probably be achieved by using javascriptnirosha wrote:Is this possible in php?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering