I was hoping someone could shed some light on an issue I am having. I am displaying a hidden layer (div) on a click event which is populated with a list of anchor tags to choose. On the click event I am trying to set the value of a input field of type=text. The value is being set ( I can see it occurring using alerts), but I cannot see it? I am testing and building using IE6. Here is the related code. Any help or insights would be appreciated?
function LoadUserType(inType)
{
if (document.getdata.uType)
{
document.getdata.uType.value = inType;
hideNode(‘UserTypeList’);
}
}
<div id=’UserTypeList’ class=’drpDisplay’>
<a href=’#’ onclick=”hideNode(‘UserTypeList’);”>
<img src=’images/close_10x10.gif’ alt=” Close Me “>
</a>
<table>
<% for y=2 to 4 %>
<tr><td>
<a href=’#’ class=’drpDisplayData’ onClick=”LoadUserType(‘<%=User_Types(y)%>’);”> <%=User_Types(y)%></a>
</td></tr>
<% next %>
</table>
</div>