Jump to content

Archived

This topic is now archived and is closed to further replies.

jwwceo

Ajax Poll Tutorial????

Recommended Posts

I am looking for some AJAX polling to add to this page [url=http://www.liquidcotton.com]www.liquidcotton.com[/url]. Users must be able to vote without a page refresh similar to this page...  [url=http://www.urbandictionary.com/define.php?term=R+%26+B]http://www.urbandictionary.com/define.php?term=R+%26+B[/url] where you can vote a simple thumbs up, thumbs down.

I have found a few scripts where you can create polls, but I am needing one poll for every item, so I'm not sure if that would really work.

I am thinking a way to do this would be to add a field to each t-shirt for a thumbs up vote and one for thumbs down vote. Then have a a table for each vote that correlates IP addresses and shirt_id's, so somebody could only vote on each shirt once. ???????

I really don't have much clue how to do this stuff...the above is just an idea.. if anybody can point to a good book, tutorial, or even some tips on how to write this logically I would totally appreciate it...

Share this post


Link to post
Share on other sites
http://developer.mozilla.org/en/docs/AJAX:Getting_Started

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.