|
I have to add r u sure to delete button
got it to work on a link
but I want my button back, cant see how to get the code in the button
this is in between the end head and begin body
<script>
<!-- JavaScript Start -
function confirmation(){
var answer=confirm("Are you sure?");
if (answer==false)
{ return false;}
else return true;}
JavaScript End -->
</script>
and in the body is this link that does what I want, how do I make this link a button again ?
<a href="main.asp?action=reqdelete&id=<%=objRS2("ID_tblREQUEST")%>" onclick="return confirmation()">Remove</a>
|
|
|
|
|
|
|
// |