Menu
I have this function that works perfectly well in Firefox but failes in IE. It’s suppouse to read a text value of the option and then stick it into the hidden field.
Any ideas how to make it work in both browsers ?
[code]
function agentNameFunc(){
var agentNameVar=agent.options[agent.selectedIndex].text;
var campNameVar=project.options[project.selectedIndex].text;
document.getElementById(“agentName”).value=agentNameVar;
document.getElementById(“projectName”).value=campNameVar;
}