先插入一条广告,博主新开了一家淘宝店,经营自己纯手工做的发饰,新店开业,只为信誉!需要的亲们可以光顾一下!谢谢大家的支持!
店名:
小鱼尼莫手工饰品店
经营:
发饰、头花、发夹、耳环等(手工制作)
网店:
http://shop117066935.taobao.com/
马上开始正题...
定义(待补充)
描述(待补充)
....
先上几个正确的例子:
动态赋值
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 = \'输入联系姓名\'" />'
店名:
小鱼尼莫手工饰品店
经营:
发饰、头花、发夹、耳环等(手工制作)
网店:
http://shop117066935.taobao.com/