I currently have the following javascript code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Start Hiding the Script
var alreadyWarned = false;
function deleteFunction() {
value = confirm("Delete Current Customer Record with ID : <%=myval%>. Proceed? "
alreadyWarned = true;
if (value) {
<< place code here to jump to another link
<< place code here to jump to another link
<< place code here to jump to another link
[color]
}
}
// Stop Hiding script --->
</SCRIPT>
how do i produce code that will take me to another page, I want to link to an asp page such as "customer.asp" with a querystring atttached such as "customer.asp?id=12", I was wondering how to do this in javascript. Because I only want to jump to another page if the user clicks ok.
Grateful for anyh help. Thanks.
<SCRIPT LANGUAGE="JavaScript">
<!-- Start Hiding the Script
var alreadyWarned = false;
function deleteFunction() {
value = confirm("Delete Current Customer Record with ID : <%=myval%>. Proceed? "
alreadyWarned = true;
if (value) {
<< place code here to jump to another link
<< place code here to jump to another link
<< place code here to jump to another link
[color]
}
}
// Stop Hiding script --->
</SCRIPT>
how do i produce code that will take me to another page, I want to link to an asp page such as "customer.asp" with a querystring atttached such as "customer.asp?id=12", I was wondering how to do this in javascript. Because I only want to jump to another page if the user clicks ok.
Grateful for anyh help. Thanks.