scrollable alert in javascript code example Example 1: how to alert in javascript alert("Message") Example 2: alert jquery alert("Hello! I am an alert box!!");