Have an event lister that calls a function onmouseover of all <a> elements within a specific div id, for example
Code: Select all
<div id="div1">
<a href="#" id="o1">option 1</a>
<a href="#" id="o2">option 2</a>
<a href="#" id="o3">option 3</a>
</div>So, if a user mouses over the first link, it will call myFunction(id){} -- id being the ID of the <a> element moused over...
Any help would be amazing! Thank you