Select from following answers:- alertBox("Hello World");
- msgBox("Hello World");
- msg("Hello World");
- alert("Hello World");

- All Above
alert("Hello World") is the correct syntax for showing any messages to user. It's just like MessageBox.Show in Dot Net.
For example in Javascript function:-
function say_hello()
{
alert("Hello World");
}
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator