I have an alert button to confirm deletion of a record but it comes into action when any button on the form is pressed (because the code that calls the function is in the form tag) how can I alter the code so that it only appears when the delete button is pressed???
@sky_hereAug 11.2005 — #helo..hmm..im quite new to this javascript..i wanna ask something..im doing a delete button..same matters with funkymonkey..i had add the onclick="return confirm('Are you sure?');"
and luckily it works ?
thanx but can u help me how to ensure that the button will delete datafrom database..im quite blur