Home  >  Article  >  Backend Development  >  PHPJquery点击按钮增添文本框

PHPJquery点击按钮增添文本框

WBOY
WBOYOriginal
2016-06-13 12:09:54938browse

PHPJquery点击按钮添加文本框

html页面

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Jquery添加输入框</title><script type="text/javascript" src="js/jquery-2.1.1.min.js"></script><script type="text/javascript" src="js/jquery.json.min.js"></script>    <div id="input_list">    </div>    <input type="button" value="添加" onclick="addInput()">    <input type="button" value="确认" onclick="isOk()">        <hr>    

?PHP页面

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><?php $json = $_REQUEST["json"];$arr=json_decode($json,true);?>
$value){?>

?

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