Jump to content

[SOLVED] Are you sure you want to delete?


gevo12321

Recommended Posts

hey,

 

try this code

<from name="frmdel">

<table>

<tr><td><input type="submit" value="delete" name="del" onclick="return deldel()"></td></tr>

</table>

</form>

 

<script language="javascript">

function deldel()

{

var agree=confirm("Do you want to delete");

if(agree)

return true;

else

return false;

}

</script>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.