"/>         ">
Home > Backend Development > PHP Tutorial > ajax异步传送

ajax异步传送

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:25:58
Original
883 people have browsed it

ajax异步传递

<br />table width="100%" border="0" cellspacing="0" cellpadding="0" class="ttbb5"><br /><br />    <tr><br /><br />    <th scope="col"><strong>序号</strong></th><br /><br />    <th scope="col">国家</th><br /><br />    <th scope="col">省份</th><br /><br />	<th scope="col">地区</th><br /><br />    <th scope="col">操作</th><br /><br />    <br /><br />  </tr><br /><br />    <br /><br />  {if $list or [email&#160;protected] neq 0 }<br /><br /> 	{foreach from=$list item=item key=index}<br /><br />	<tr align="center"><br /><br />    <td>{$index}</td><br /><br />	{if $item.parent_tow_id eq 2}<br /><br />	<td class="ttbb6">{$item.country}</td><br /><br />	<td class="ttbb6">{$item.province}</td><br /><br />    <td class="ttbb6">{$item.name}</td><br /><br />	{/if}	<br /><br />	{if $item.parent_tow_id eq 1}<br /><br />	<td class="ttbb6">{$item.country}</td><br /><br />	<td class="ttbb6">{$item.name}</td><br /><br />    <td class="ttbb6"></td><br /><br />	{/if}	<br /><br />	{if $item.parent_tow_id eq 0}<br /><br />	<td class="ttbb6">{$item.name}</td><br /><br />	<td class="ttbb6"></td><br /><br />    <td class="ttbb6"></td><br /><br />	{/if}<br /><br />    <td align="center" class="ttbb6">  <div align="right"><br /><br />      <input name="p" type="text" id="p" value="{$item.paixu}" size="5" maxlength="3" /><br /><br />            <br /><br />      <input type="button"  class="anniu4" value="确定" onclick="foo()" /><br /><br />	     <br /><br />    </div></td><br /><br />	</tr><br /><br />	{/foreach}<br /><br />	{else}<br /><br />	 <tr><br /><br />    <td align="center" colspan="5">--暂无数据--</td><br /><br />  	</tr><br /><br />	{/if}<br /><br /><br /><br />    </table><br /><br />    {include file=warning.tpl}<br /><br /><br /><br /></div><br /><br />    </td><br /><br />  </tr><br /><br /><br /><br /><br /><br /></table><br />
Copy after login


input=text显示数据库排序的值  在文本框修改值点击确定 怎么传入数据库 改变paixu的值
帮帮忙给写一个ajax异步传递的代码吧   
------解决思路----------------------
用表单提交你会吗?
如不会,请先学习一下
------解决思路----------------------
不是很难。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template