It helps to select all elements that are checked or selected.
// To add background color to checked checkboxes. (Firefox does not support background)
$(document).ready(function(){
$(“:checked”).wrap(“<span style=’background-color:yellow’ />”);
})