读书人

求教一个有关问题

发布时间: 2012-03-27 13:44:24 作者: rapoo

求教一个问题!
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="向上" /> 

读书人网 >JavaScript

热点推荐