1. Open the HTML document that contains your web page.
2. Add the following JavaScript code to the
3. Save the HTML file and open it in your browser. If your browser has JavaScript enabled, you will not see the message prompt.
4. Disable JavaScript in your Browser and press 'F5' to refresh the browser. You will see the message prompt.
No comments:
Post a Comment