I have a check box like
<input id="inp__str_Object__17" type="checkbox" name="inp__str_Object__17" sym_name="Cust_attr_1" value="400024" >
Using javascript how can i get the id (inp__str_Object__17) using sym_name="Cust_attr_1"
Like document.getAttribute("SYM_NAME")