Exercise:

Alert the value of the input field.

Hint: Use the val() method.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com