function showmessage() { alert("this is the alert message"); } // or function showmessage(message) { alert(message); } if (number > 400) { showmessage("The number is greater than 400"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)