This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
Author

Why +1/thumb up action is not AJAX

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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
Marshal

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


Ping & DNS - my free Android networking tools app
Pushkar Choudhary
Rancher

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
Bartender

Joined: Apr 06, 2010
Posts: 4370
    
    8

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

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


[Jess in Action][AskingGoodQuestions]
 
 
subject: Why +1/thumb up action is not AJAX