I want to access the value of an attribute defined in the checkbox. The code of defining the checkbox is :
<input id="checkboxes" type="checkbox" name="item" class="row" statusid="10" value="175627">
This peice of code is inside a phtml file .
Now in my JS file,I want to access the attribute value for statusid i.e 10. How can I achieve this ?
Please refer below image for clear understanding.

Thanks for reading.