当前位置: 代码迷 >> JavaScript >> 求教一个有关问题
  详细解决方案

求教一个有关问题

热度:150   发布时间:2012-03-27 13:44:24.0
求教一个问题!
Html:function(){
var htmlstr = "";
 
htmlstr += "<div id=\"ptzBox\" class=\"ptz\">";
 
htmlstr += "<div style=\"float:left;width:112px;border-right:0px red dotted;\">";
htmlstr += "<div><input type=\"button\" id=\"turnup\" name=\"turnup\" disabled title=\"向上\" /></div>";
htmlstr += "<div><input type=\"button\" id=\"turnleft\" name=\"turnleft\" webclienttype=\"ptzcontrol\" disabled title=\"向左\"/><input type=\"button\" id=\"turncenter\" name=\"turncenter\" disabled /><input type=\"button\" id=\"turnright\" name=\"turnright\" disabled title=\"向右\"/></div>";
htmlstr += "<div><input type=\"button\" id=\"turndown\" name=\"turndown\" disabled title=\"向下\" /></div>";
htmlstr += "</div>";  
}


这里的disabled title是什么呢?看不懂 有这个属性吗?

------解决方案--------------------
HTML code
<input type="button" id="turnup" name="turnup" disabled title="向上" /> 
  相关解决方案