I am trying to use Javascript to prompt a Confirm Message within an ASP. Is this possible to do? I am relatively new to VB Script and ASP coding so I am not sure I can even do this. I have tried 2 approaches.
1. When they press the Delete on my form I put a ONCLICK on my link. This pointed to a JavaScript Function which prompts the Confirm. This works, but I can not get VB Script to recognize whether the result from the Confirm is True or False.
2. I tried to play the JavaScript Confirm within an IF block of VBScript. It was not getting recognized. Can anyone help me?
1. When they press the Delete on my form I put a ONCLICK on my link. This pointed to a JavaScript Function which prompts the Confirm. This works, but I can not get VB Script to recognize whether the result from the Confirm is True or False.
2. I tried to play the JavaScript Confirm within an IF block of VBScript. It was not getting recognized. Can anyone help me?