PDA

Click to See Complete Forum and Search --> : JavaScript: Syntax Error?


The Hobo
Sep 17th, 2002, 11:33 AM
Can anybody tell me what's wrong with this code?

function del(url) {
c = confirm('Are you sure you want to delete "Location" ?');
if (c == true) {
window.location.href = url;
}
}

The Hobo
Sep 17th, 2002, 12:08 PM
Nevermind. I got it.