How to implement deletion function in php
function del(){
var input=document.getElementsByName('inp')[0].value;
alert(input.constructor);
}
1 | 2 | 3 | Confirm |
4 | 5 | 6 | Delete |
7 | 8 | 9 | Reset |
How to delete the numbers in the input box one by one when clicking the delete button, that is, click delete to delete a number?
http://www.bkjia.com/PHPjc/820414.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/820414.htmlTechArticleHow to implement the deletion function in php functiondel(){ varinput=document.getElementsByName('inp')[0] .value; alert(input.constructor); } /script table trtdonclick=inpu(1)1/tdtdonclick=inpu(2...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn