dear all,
I want to dynamicaly write option values in drop down list using php. i use following code to do it.
var x = document.getElementById("x_AreaName").value;
x.options[x.selectedIndex].text="text to display";
but this is not working. pls anyone can help me?