I currently have code that extract of code that looks like this:
<SCRIPT LANGUAGE="JavaScript">
<!-- Start Hiding the Script
var alreadyWarned = false;
function deleteFunction() {
value = confirm("File Record ID : <%=form_FileID%> relating to Customer Record ID : <%=valCustId%> will be deleted. Proceed? "
alreadyWarned = true;
if (value) {
can I put asp code here
can I put asp code here
can I put asp code here
alert("It would have been deleted."
}
}
// Stop Hiding script --->
</SCRIPT>
</Table>
<%
I would like to know if its possible to mix javacscript with asp code, I have tried putting <% %> around asp code in the part I mention but I get errors.
Grateful for any help.
Thanks.
<SCRIPT LANGUAGE="JavaScript">
<!-- Start Hiding the Script
var alreadyWarned = false;
function deleteFunction() {
value = confirm("File Record ID : <%=form_FileID%> relating to Customer Record ID : <%=valCustId%> will be deleted. Proceed? "
alreadyWarned = true;
if (value) {
can I put asp code here
can I put asp code here
can I put asp code here
alert("It would have been deleted."
}
}
// Stop Hiding script --->
</SCRIPT>
</Table>
<%
I would like to know if its possible to mix javacscript with asp code, I have tried putting <% %> around asp code in the part I mention but I get errors.
Grateful for any help.
Thanks.