Menu
I need to alert the user he is about to delete a record if confirmed i then need the function to open a new window. I have written the code below, but keep getting an invaild argument error. Any ideas??
<script language=”JavaScript”>
<!–
function my_#userid#(theURL)
{
var answer=confirm(“Your are about to delete this user! Please confirm.”)
if(answer)
window.open(theURL, ‘Delete user’,’toolbar=yes, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=400, height=400′);
}
//—>
</script>