PDA

View Full Version : Javascript Issue



Lacuna
July 10th, 2004, 12:58 PM
i dont know what's wrong here? any suggestions?



function promptmove(){
var return_value = confirm("Are you sure u want to move?");
if (return_value)
{
window.location="../default.asp";
}
}


it prompts but it doesnt do anything.

trundrumbalind
July 12th, 2004, 07:05 PM
You MIGHT need a return = true; line just before the VERY last }.