How to select by id in array of elements in JavaScript

welcome to shbcf.ru