1 00:00:00,620 --> 00:00:05,310 We can use the Jake where you method to retrieve the value of an input field. 2 00:00:05,480 --> 00:00:12,980 Here we have a name input field where the default value set to John Smith If we click the Get value 3 00:00:12,980 --> 00:00:17,140 button an alert appears with the name entered into the input field. 4 00:00:25,720 --> 00:00:31,420 Looking at the script we can see we have our button an input field created in our body tags 5 00:00:35,830 --> 00:00:40,180 the input has the IDI name and the default value set in John Smith 6 00:00:44,030 --> 00:00:49,270 our script in the head take starts with a click event on the button. 7 00:00:51,380 --> 00:01:00,610 Once click it launches an alert with the value of the input field name the DOT value method is the syntax 8 00:01:00,640 --> 00:01:01,800 that makes this possible.