通过ajax不断更新textbox值(时间),提交的时候后台接受到值却为空,求解决办法

WBOY
Release: 2016-06-13 09:59:18
Original
836 people have browsed it

通过ajax不断更新textbox值(时间),提交的时候后台接受到值却为空,求解决方法
如题,太疑惑了,分不多,大家帮帮我把

------解决方案--------------------
我帮你稍作修改

JScript code
function TIMEfunc(){  $.post("../gettime.php",function(time){$("#tijiaoTIME").attr({'value':time});  });  setTimeout("TIMEfunc()",1000);}<div class="clear">
                 
              
              
        
            </div>
Copy after login
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