js window alert code example
Example 1: javascript alert
alert("string");
Example 2: javascript alert
alert(varible);
Example 3: alert jquery
alert("Hello! I am an alert box!!");
Example 4: js alerts
3 types of JS Alerts
- Information : You can only accept.
- Confirmation: You can accept or decline.
- Prompt : You can accept, decline, and/or sendKeys.