Confirm Message With Ok Cancel
Here is a JavaScript confirm message that has variable responses. Basically, the response they get depends on what the user enters.
When users click the button, there will be a pop-up window to ask them to enter text in the text box. Based on the information entered by the user, the script will pop up another window to give the appropriate message in response.
Script Demo:
Demo
JavaScript Code:
Insert this code into <head> tags |
Insert this code into <body> tags |
Instruction:
| Webmaster » Web Programming » JavaScript » Message » Confirm Message With Ok Cancel |
Related Links:
Sponsored Links
