Advertisement
Advertisement
| 04.07.2008 at 10:15AM PDT, ID: 23302025 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: |
<SCRIPT language="JavaScript">
<!--
function confirmDelete()
{
var confDel = confirm("Are you sure you want to DELETE?");
if (confDel== true)
{
document.write("<%= call datadelete() %>"); <--- line 865
}
}
//-->
</SCRIPT>
<form>
.
.
.
.
.
<input type=submit name="action" value="Update" ID="Submit7" onClick="update();">
<input type=submit name="action" value="Delete" ID="Submit8" onClick="confirmDelete();">
""I changed the above delete to a "button" but get an error. See below:""
<input type=button name="action" value="Delete" ID="Submit8" onClick="confirmDelete();">
ERORR..
Microsoft VBScript compilation error '800a03ea'
Syntax error
request.asp, line 865
Response.Write(call datadelete())
</form>
|