给该文本框设置id,然后在打开的窗口中
obj = opener.getElementById(inputid)
if(obj)obj.value = "";