Question: Given this snippet of HTML, how can you get the value of the text field using jQuery?

  1. `$('input[type=text]').val()`
  2. `$('.form-control').val()`
  3. `all of these answers`
  4. `$('#firstName').val()`

Answer: The correct answer of the above question is Option C:`all of these answers`