textArea.onblur = function(){
var that = this;
setTimeout(function(){
that.value = that.value==""?"評論…":that.value;
that.parentNode.className = 'text-box';
},200)
}
var that = this;
setTimeout(function(){
that.value = that.value==""?"評論…":that.value;
that.parentNode.className = 'text-box';
},200)
}
2015-07-27
贊,評論,回復,刪除這些動作的結(jié)果要分別寫AJAX提交還是怎么弄呢? 哪位大神能指導一下~
2015-07-13
<script type="text/javascript">
var list = document.getElementById('list');
。。。。。。。。。。
var lii=document.createElement("li");
function tbu(){
var txt=text.value;
lii.innerHTML=txt;
}
function add(){
list.appendChild(l);
} </script>
var list = document.getElementById('list');
。。。。。。。。。。
var lii=document.createElement("li");
function tbu(){
var txt=text.value;
lii.innerHTML=txt;
}
function add(){
list.appendChild(l);
} </script>
評論
問答
筆記
WIKI
2/300
[Benefit]
Benefit
很喜歡聽這位老師的課,都是干貨。后臺我自己搞定了。
問答
筆記
WIKI
2/300
[Benefit]
Benefit
很喜歡聽這位老師的課,都是干貨。后臺我自己搞定了。
2015-04-24