- 相關(guān)推薦
php中怎么實(shí)現(xiàn)回刪功能
導(dǎo)語(yǔ):以下的是百分網(wǎng)小編為大家整理的php實(shí)現(xiàn)回刪功能的實(shí)例,希望對(duì)你有所幫助。
function del(){
var input=document.getElementsByName('inp')[0].value;
alert(input.constructor);
}
</script>
<table>
<tr><td onclick="inpu(1)">1</td><td onclick="inpu(2)">2</td><td onclick="inpu(3)">3</td><td onclick="ente()">確認(rèn)</td></tr>
<tr><td onclick="inpu(4)">4</td><td onclick="inpu(5)">5</td><td onclick="inpu(6)">6</td><td onclick="del()">刪除</td></tr>
<tr><td onclick="inpu(7)">7</td><td onclick="inpu(8)">8</td><td onclick="inpu(9)">9</td><td>重置</td></tr>
</table>
如何在點(diǎn)擊刪除按鈕的時(shí)候能夠讓input框里的數(shù)字一個(gè)一個(gè)回刪,也就是點(diǎn)擊一下刪除,刪除一個(gè)數(shù)字?
【php中怎么實(shí)現(xiàn)回刪功能】相關(guān)文章:
php中實(shí)現(xiàn)回刪功能實(shí)例10-03
PHP實(shí)現(xiàn)搜索查詢功能的方法技巧08-01
php實(shí)現(xiàn)文件上傳及頭像預(yù)覽功能10-17
PHP中多態(tài)如何實(shí)現(xiàn)09-04
PHP中實(shí)現(xiàn)頁(yè)面跳轉(zhuǎn)07-06
php+js實(shí)現(xiàn)倒計(jì)時(shí)功能08-28