i am trying to get the value Lotus of the h4 tag from the code below
<a id="linkSale" class="linkAccess" title="" href="/vp4/Home/Handlers/OperationAccess.ashx?operationid=17285" onclick="javascript:PrepareEventOnLinksAnchor(17285);">
<h4>Lotus</h4>
<p class="dateSales">Du <em><strong>mercredi 1 mai</strong> 9h</em> au <em><strong>dimanche 5 mai</strong> 6h</em> </p>
<p class="baseline"></p>
</a>
to do that i did as follow :
var h=document.getElementById("17285");
var i=h.getElementsByTagName("h4");
which returned the following line :
<h4>Lotus</h4>
what I want is to get the value Lotus
converted to a text.