File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ranch Office and the fly likes Why +1/thumb up action is not AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Why +1/thumb up action is not AJAX" Watch "Why +1/thumb up action is not AJAX" New topic

Why +1/thumb up action is not AJAX

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

Well, certainly we can improve the +1/tumb-up action by making it AJAX request, but its not there ? I'm wondering the reason behind keeping it the old-fashioned-page-refresh way?

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The thumbs-up +1 *IS* implemented via AJAX - there is no page reload. What exactly do you mean?
Pushkar Choudhary

Joined: May 21, 2006
Posts: 425

Yeah, I've noticed it too. The whole page refreshes when I press the thumbs-up button.
Matthew Brown

Joined: Apr 06, 2010
Posts: 4542

Do you have JavaScript disabled? If you have it disabled it will fall back to a page refresh. But it will use AJAX if it can.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
It is because you got a JavaScript error folks.

Fix the error and there will be no more refreshing.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

This is now fixed -- thanks for letting us know about it!

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Why +1/thumb up action is not AJAX
It's not a secret anymore!