function changelocation(locationid)
{
document.myform.Nclassid.length = 0;
.....
document 对象中有myform这个属性吗?
nclassid是数据库里的一个值。
myform是form元素的名称或者ID,你在那程序中搜索myform肯定是form元素的名称或者ID
document.myform.Nclassid.length
Nclassid肯定是一个select控件的名字,我知道你的代码主要是什么功能了,联动!
你去看看这个!
http://www.csdn.net/develop/read_article.asp?id=20679
document.myform.Nclassid.length = 0
其中myform是某个form表单的name,
Nclassid是这个form的一个对象,可能是text,radio等