先插入一條廣告,博主新開了一家淘寶店,經營自己純手工做的發飾,新店開業,只為信譽!需要的親們可以光顧一下!謝謝大家的支持!
店名:
小魚尼莫手工飾品店
經營:
發飾、頭花、發夾、耳環等(手工制作)
網店:
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/