So I'm trying to check a box by value that's equal to the variable but I can't get to work. Here's a fiddle: <https://jsfiddle.net/OpuLance/n3L8a4zz/4/>

It checks all the boxes if I set it to `.val(checkboxValue).prop("checked", "checked");`

I tried `.val() == checkboxValue.prop("checked", "checked");` but that doesn't work