</javascript> javascript alert code example Example 1: javascript alert alert("string"); Example 2: alert jquery alert("Hello! I am an alert box!!");