<div class="menu_item_variant" id="date" onmouseover="mouseIn(this.id)" onmouseout="mouseOut(this.id)">
<a href="dating-advice.html">Dating Coaching & Advice</a>
</div>
hi, could some one help me get the value of href using document.getElementById("date") etc. thanks ! Andy.
You can get the “date” element and then loop through its children:
Or actually, I think just about every browser has
getElementsByTagNamenow, so:More to explore: