Home  >  Article  >  php教程  >  PHP+MySQL+jQuery实现发布微博程序

PHP+MySQL+jQuery实现发布微博程序

WBOY
WBOYOriginal
2016-06-13 10:41:25835browse

 在微博网站可以看到一个发表话题的应用,文章将介绍如何简易的实现一个微博话题发表程序——jQuery篇,后续还会有关于后台处理程序的讲解。

          我们在QQ个人中心或者新浪微博等网站上可以看到一个发表话题的应用。该应用实现了即时统计输入字数,并且通过Ajax与后台交互,将输入内容插入到话题列表中。


 

     XHTML代码

form id="myform" action="say.php" method="post">
          
h3>span class="counter">140span>说说你正在做什么...h3>
          
textarea name="saytxt" id="saytxt" class="input" rows="2" cols="40">textarea>          p>
                
input type="image" src="images/btn.gif" class="sub_btn" alt="发布"/>
         &n

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