Hi,
I have a JSF Code like this:
<h:outputText id="dCode1" styleClass="font_size" value="Delivery Code"/>
The rendered HTML Code is :
<span id="content:frmManualDataEntry:dCode1" class="font_size">
I need to get the ID of the SPAN Tag and then HIDE the element. Currently when I do document.getElementByID('dCode1') I get an error saying
document.getElementByID('dCode1') is NULL
Please HELP