Using JQuery Ajax to call a php function

Posted by Stevie Jenowski on Stack Overflow See other posts from Stack Overflow or by Stevie Jenowski
Published on 2010-05-16T06:28:26Z Indexed on 2010/05/16 6:30 UTC
Read the original article Hit count: 256

Filed under:
|
|
|

Hello! First and foremost thank you for checking out my problem, and for any help you may give!

Okay, so like the title says I'm in need of calling a php function from my index page, which adds a new record in my database as a vote, using JQuery Ajax. This function will return one integer, which will then be printed inside the form button in which it was called from.

Anyone have an idea on how I would accomplish this? Any guidance is appreciated!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX