得到用户控件byID

for(i=2;i<=6;i++)
{
      if(document.getElementById("dg__ctl"+String(i)+"_JSDJ").value != "")
      {
           document.getElementById("dg__ctl"+String(i)+"_SBSL").value = "0.000";
           document.getElementById("dg__ctl"+String(i)+"_JSJE").value = "0.000";
      }
}

posted on 2005-12-06 22:28  小肠与小豆子  阅读(150)  评论(0)    收藏  举报

导航