Dropdownlist¿ÉÊäÈ룬¿ÉÑ¡ÔñµÄ·½·¨

Àà±ð£ºAsp µã»÷£º0 ÆÀÂÛ£º0 ÍƼö£º

 function addTxtTanto(va){
    document.all("txtTitle").value=va; document.all("txtTitle").select();
}
function checktitle(){
    var drp = document.all("DDLTitle");
    var t=document.all("txtTitle");
    var j=0;
    if(t.value==""){
     }else{ 
            for(var i=0;i<drp.length;i++){
                  if(t.value==drp.options(i).text){
                       drp.value=drp.options(i).value;
                       break;
                  }else{
                       j=j+1;
                  }
             }
             if(j==drp.length){
              t.value="";
              t.select();
              alert("¥¿¥¤¥È¥ë¤¬´æÔÚ¤·¤Æ¤¤¤Þ¤»¤ó¡£");
             }
      }
}

±¾ÎĵØÖ·£ºhttp://com.8s8s.com/it/it7506.htm