if后面条件引用错误了,应该是this.optiongroup1.value=1或者thisform.page1.optiongroup1.value=1因为页框page1是容器类控件,所以要一层一层向下引用。