如何获得动态文本框值 [英] How do I can get dynamic textbox value

查看:69
本文介绍了如何获得动态文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<a href=""></a>&><<code><code><></code></code><table border="1">
                <thead>
                  <tr>
                    <th colspan="14" align="center">Last Purchase List</th>
                  </tr>
                  <tr>
                  	
                    <th align="center">id</th>
                    <th align="center">b</th>
                    
                  </tr>
                </thead>
                <tbody>
				<?php <br mode="hold" />			
$result = mysqli_query($con,"SELECT * FROM abcd ORDER BY  
					 id DESC LIMIT 5");
					 $i=0;
     				 while($bb=mysqli_fetch_array($result))
							{
								$i++;
							?>
                  			<tr class="record">
                            <form  method="post" id="form" action="" name="form">
                                <td align="center"><?php echo $bb["id"];???></td>
        
                              	<td align="center">
                                <input type="text" id="b" name="b" value="<?php echo $bb["b"];???>"/>
                              <?php /*???>  <a href="#" id="<?php echo $bb[" b="];?>" class="delbutton">+</a><?php */???>
                                <input type="hidden" id="i" name="i" value="<?php echo $bb["id"];???>"/>
                                <input type="submit" value="+" id="button" class="delbutton" onclick="ha()"/>
                                </td>
                            </form>
                  			</tr>
                 	<?php }???> 
                </tbody>
              </table>







在这个编码中,我希望得到点击的文本框值。我怎么能得到这个?请帮帮我?




In this coding, I want to get clicked text box value. how can I get this? please help me?

推荐答案

result = mysqli_query(
result = mysqli_query(


con,SELECT * FROM abcd ORDER BY
id DESC LIMIT 5);
con,"SELECT * FROM abcd ORDER BY id DESC LIMIT 5");


i = 0;
while(
i=0; while(


这篇关于如何获得动态文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆