var arr = Array.prototype.map.call( document.querySelectorAll('[select_u_id]'), function(e){ return e.getAttribute('select_u_id') } );