Question: Given this set of checkboxes, how can you select the ones that have the phrase "sun" as part of the value?

  1. `$('checkbox').val(/sun/);`
  2. `$('input[value*="sun"]');`
  3. `$('input[value|="sun"]');`
  4. `$('input:checkbox').attr('value', '*sun*');`

Answer: The correct answer of the above question is Option B:`$('input[value*="sun"]');`