Question: Given this set of checkboxes, how can you select the ones that have the phrase "sun" as part of the value?
- `$('checkbox').val(/sun/);`
- `$('input[value*="sun"]');`
- `$('input[value|="sun"]');`
- `$('input:checkbox').attr('value', '*sun*');`
Answer: The correct answer of the above question is Option B:`$('input[value*="sun"]');`