客户端CGI——结合javascript、dhtml实现bbs的backoffice(四,完)
//第六步,修改版主function On_ChangeMaster()
{
//如果没有论坛被选中,则退出
if (frmManager.selForumName .selectedIndex == -1)
{
return 0 ;
}
if (frmManager.btnChangeMaster .value == "修改")
{
frmManager.btnChangeName .disabled = true ;
frmManager.btnDown .disabled = true ;
frmManager.btnUp .disabled = true ;
frmManager.btnModifyDescription .disabled = true ;
frmManager.btnAddForum .disabled = true ;
frmManager.btnDeleteForum .disabled = true ;
frmManager.btnSubmit .disabled =true ;
frmManager.selCategoryName .disabled = true ;
frmManager.selForumName .disabled = true ;
frmManager.selMaster .disabled = false ;
frmManager.btnChangeMaster.value = "确定" ;
补充:asp教程,高级应用