我有这个带有标题(图例)的html元素字段集:
<fieldset id="propertiesField" style="border: solid 1px #6b6b6b;">
<legend id="propertiesFieldTitle"></legend>
</fieldset>
是否可以以编程方式设置图例标题?
答案 0 :(得分:0)
if (checked) {
this.locationName = this.locationName + '' + appendVal;
this.baseName = this.locationName + ":" + this.personName;
if( this.baseName.length > 30){
this.baseName = this.baseName.substr(0, 30);
}
}