updated 回退或清空,按键限制取消
This commit is contained in:
parent
f30034cdbd
commit
61d869b217
@ -106,10 +106,14 @@
|
|||||||
index = Math.max(0,index);
|
index = Math.max(0,index);
|
||||||
$textarea[0].value = value.substr(0,index);
|
$textarea[0].value = value.substr(0,index);
|
||||||
$textarea[1].value = '';
|
$textarea[1].value = '';
|
||||||
|
$btns[2].disabled=false;
|
||||||
|
$btns[3].disabled=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$buttons[2].onclick = function(){
|
$buttons[2].onclick = function(){
|
||||||
$textarea[1].value = $textarea[0].value = '';
|
$textarea[1].value = $textarea[0].value = '';
|
||||||
|
$btns[2].disabled=false;
|
||||||
|
$btns[3].disabled=false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user