首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

求教一个有关问题

2012-03-27 
求教一个问题!Html:function(){var htmlstr htmlstr + div id\ptzBox\ class\ptz\htmlst

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

热点排行