下面这个程序错在哪里?
我想再网页上实现以下方法:在父窗体中有一个按钮按下后执行clicked函数,但不知道为什么参数传不下去?
<input type=button value="查询" onclick=clicked()>
function clicked()
{
var timestr="fyear="+fyear.options.value+"&fmonth="+fmonth.options.value+"&fday="+day.value;
parent.sj.location="cxjg.asp"+timestr;
return;
}