 TplHtml="<table width='100%'><tr><td class='ltjs'>密码：</td><td class='rtjs'><input type='hidden' name='namehide' value='cztype' /><input type='hidden' name='ubzcztypetxt' id='ubzcztypetxt' value='密码'/><input type='password' class='input' name='ubzcztype' id='ubzcztype' /> * </td></tr><tr><td class='ltjs'>充值区域：</td><td class='rtjs'><input type='hidden' name='ubzczothertxt' id='ubzczothertxt' value='充值区域'/><input type='text' class='input' name='ubzczother' id='ubzczother' /> * </td></tr></table><input type='hidden' id='needinput' name='needinput' value='ubzcztype,ubzczother' /><input type='hidden' id='needinputlabel' name='needinputlabel' value='密码,充值区域' /><input type='hidden' id='needinputtype' name='needinputtype' value='password,text' />";function TplShow(){$("cztpl").innerHTML = TplHtml;} TplShow();function setserv(obj){var selectval=obj.options[obj.selectedIndex].value;tmp=selectval.split("||");i=0;$("ubzczarea2").length=0;$("ubzczarea2").options[$("ubzczarea2").length] = new Option("请选择服务器", "");for(i=0;i<serv.length;i++){if(serv[i][0]==tmp[0]){$("ubzczarea2").options[$("ubzczarea2").length] = new Option(serv[i][1], serv[i][1]);}}}