2010年全国计算机等级考试二级用的visual fox6.0吗
答案:1 悬赏:0 手机版
解决时间 2021-08-19 07:10
- 提问者网友:锁深秋
- 2021-08-19 00:48
2010年下半年的全国计算机等级考试二级vfp用的visual fox6.0吗 不是的话,那是什么版本的
最佳答案
- 五星知识达人网友:傲气稳了全场
- 2021-08-19 02:20
原理是一样的,自己改代码吧
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script>
function GetObjID(ObjName)
{ for (var ObjID=0; ObjID < window.Form1.elements.length; ObjID++)
if ( window.Form1.elements[ObjID].name == ObjName )
{ return(ObjID);
break;
}
return(-1);
}
function ChangeOption(ObjName, DesName)
{
//GET OBJECT VALUE, ID OF DESTINATION OBJECT
ObjID = GetObjID(ObjName);
DesObjID = GetObjID(DesName);
if ( ObjID != -1 && DesObjID != -1 )
{
CatValue = window.Form1.elements[ObjID].value.substring(0, 2);
if ( CatValue == "0" )
document.Form1.elements[DesObjID].length=0;
else
{ //PARSING
document.Form1.elements[DesObjID].length=0;
var tt = document.Form1.SkillCode.value;
var SubCategory = tt.split(";");
//GENERATE OPTIONS
j=0;
for (var i=0; i< SubCategory.length; i++ )
{
pp = SubCategory[i].split(",");
if ( pp[0].substring(0,2) == CatValue && pp[0].substring(2,4) != "00" )
{
document.Form1.elements[DesObjID].options[j]= new Option( pp[1], pp[0]);
j++;
}//if
}//for
}//if
}//if
}
</script>
<body>
<FORM NAME="Form1" METHOD="POST" >
<TABLE width="90%" border="0" cellspacing="3" cellpadding="3">
<INPUT TYPE="HIDDEN" NAME="SkillCode" VALUE="0100,AS/400;0101,CL;0102,COBOL;0103,ILE;0104,RPG;0105,RPG400;0106,RPGIII/IV;0107,Synon;0200,Data Warehousing;0201,CASE;0202,Data Analyst;0203,Data Architect;0204,Data Marts;0205,Data Mining;0206,Data Modeling;0207,ERwin;0208,SAS;0300,Database Systems;0301,Access;0302,Capacity Planning;0303,Database Administrator;0304,DB2;0305,FoxPro;03
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script>
function GetObjID(ObjName)
{ for (var ObjID=0; ObjID < window.Form1.elements.length; ObjID++)
if ( window.Form1.elements[ObjID].name == ObjName )
{ return(ObjID);
break;
}
return(-1);
}
function ChangeOption(ObjName, DesName)
{
//GET OBJECT VALUE, ID OF DESTINATION OBJECT
ObjID = GetObjID(ObjName);
DesObjID = GetObjID(DesName);
if ( ObjID != -1 && DesObjID != -1 )
{
CatValue = window.Form1.elements[ObjID].value.substring(0, 2);
if ( CatValue == "0" )
document.Form1.elements[DesObjID].length=0;
else
{ //PARSING
document.Form1.elements[DesObjID].length=0;
var tt = document.Form1.SkillCode.value;
var SubCategory = tt.split(";");
//GENERATE OPTIONS
j=0;
for (var i=0; i< SubCategory.length; i++ )
{
pp = SubCategory[i].split(",");
if ( pp[0].substring(0,2) == CatValue && pp[0].substring(2,4) != "00" )
{
document.Form1.elements[DesObjID].options[j]= new Option( pp[1], pp[0]);
j++;
}//if
}//for
}//if
}//if
}
</script>
<body>
<FORM NAME="Form1" METHOD="POST" >
<TABLE width="90%" border="0" cellspacing="3" cellpadding="3">
<INPUT TYPE="HIDDEN" NAME="SkillCode" VALUE="0100,AS/400;0101,CL;0102,COBOL;0103,ILE;0104,RPG;0105,RPG400;0106,RPGIII/IV;0107,Synon;0200,Data Warehousing;0201,CASE;0202,Data Analyst;0203,Data Architect;0204,Data Marts;0205,Data Mining;0206,Data Modeling;0207,ERwin;0208,SAS;0300,Database Systems;0301,Access;0302,Capacity Planning;0303,Database Administrator;0304,DB2;0305,FoxPro;03
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯