定义(待补充)
描述(待补充)
....
先上几个正确的例子:
动态赋值
var num = 3; var td = "<td style=\"width:120px\"><img style=\"width:80px; height:80px; margin:5px;\" src=\"" + num+ "\"/></td>"
dom绑定方法
"<input type='text' id='TDcode' value='请输入团购代金券code' onmouseover='this.focus()' onblur='if (this.value ==\"\") this.value=\"请输入团购代金券code\"' onFocus='this.select()' onClick='if (this.value==\"请输入团购代金券code\") this.value=\"\"' />“
'<input value="输入联系姓名" onfocus="if (this.value == \'输入联系姓名\') this.value = \'\'" onblur=" if (this.value == \'\') this.value = \'输入联系姓名\'" />'