Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2007
    Posts
    57
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Something like YouTube's comment rating

    Hello guys!

    I'm not very sure how to make this work but I guess I need something like Youtube's thumbs up/down function.

    I want to allow users to report whether a review was useful or not and I don't want them to actually submit a form and reload the whole page just for that cause those pages could be quite big so it'd really be useful if they could just click a Yes/No link, submit that info to me and upon successful submission I'd change those Yes/No links to something like "Thanks for voting!".

    I'd also need the same for report spam comments and broken links. Again just a link that says "Report spam" and "Report broken link" and once clicked and successfully submitted these links would changes to plain text saying "Thanks for reporting!"

    I'm pretty sure it's not something hard - I've just never worked with Ajax before...

    Oh and BTW if it matters - those submissions will be made to a CGI/Perl script.

    Thanks in advance all you guys - and let me know if I wasn't clear somewhere I'll try to get into further details ASAP!

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    You can easily Google: Ajax Rating Tutorial and I am sure you will get a walk through on how to do it.
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •