PDA

View Full Version : Ajax Request - jQuery



crazyryan
03-05-2008, 08:07 PM
Hey

What I want to do is have something like:
Did this work: Yes - No
Success Rate: 65%

When someone clicks yes, it'll turn the Did this work line into thank you and the success rate will then automatically update with the new success rate.

If someone refreshes the page then I'll use php to check if they have clicked yes or no before.

I'm having trouble with the ajax of that, everything about it. The PHP I can do, I just don't know how I need to show the percentage and stuff.

Could anyone help me complete this task? All help is appreciated, thank you.