Access an html element by id: document.getElementById('elements_id') You can access an html element with various ways.