Home >Backend Development >PHP Tutorial >How to implement deletion function in php_PHP tutorial

How to implement deletion function in php_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:27:18931browse

How to implement deletion function in php

function del(){
var input=document.getElementsByName('inp')[0].value;
alert(input.constructor);
}







123Confirm
456Delete
789Reset

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?

www.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