Home  >  Article  >  Backend Development  >  AJAX reads input text in real time (php)

AJAX reads input text in real time (php)

WBOY
WBOYOriginal
2016-07-25 09:13:05904browse
  1. 无标题文档
  2. AJAX test;



  3. 服务器端代码:
  4. 复制代码 代码如下:
  5. header('Content-type: text/html;charset=GB2312');
  6. $ename = $_GET["page"];
  7. if ($ename == "") {
  8. $ename = "请输入:";
  9. }
  10. echo ($ename);
  11. exit(0);
  12. ?>
复制代码



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