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.getEle mentById("x_Are aName").value;
x.options[x.selectedIndex].text="text to display";
but this is not working. pls anyone can help me?
I want to dynamicaly write option values in drop down list using php. i use following code to do it.
var x = document.getEle mentById("x_Are aName").value;
x.options[x.selectedIndex].text="text to display";
but this is not working. pls anyone can help me?
Comment