i want to know is there any way to identify an html element by its "id"? if so than how can i call another html element e.g html table by is id all this using java script.
<a id="a" class="menuheader" >New Arrivals</a>
<a id="a1" class="menuheader" >Concepts</a>
i want JavaScript to identify the id of the above two elements and upon identifying the id call another html element i.e a table