check value for a list of items by get element by id javascript code example Example: getelementbyid document.getElementById("someid");