Home  >  Article  >  Backend Development  >  怎么利用ajax实现赞

怎么利用ajax实现赞

WBOY
WBOYOriginal
2016-06-13 12:38:57739browse

如何利用ajax实现赞
在php+mysql 实现赞的方法很简单,每点击一次赞,传入字段(cont_id,cont_type),每次向数据库中like_count自动加1,但是如何利用jquery中的ajax实现呢?

ajax jquery php
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