22 Jan
2008
22 Jan
'08
10:30 a.m.
On Tuesday 22 January 2008, Hardik Shah wrote:
Hi All, I am trying to add an external vote button like diggit on one of the site http://newskicks.com i have figured out that the url is something like this:
a href="/vote_up_down/node/241/1?destination=Popular%2FAll
here 241 is node url and 1 is the vote.
now i want to use a java script who vote for the story on this url and then gives me back the number of votes after tht,any idea how to do it?
thanks for any hel in advance.
Isn't this how vote_up_down works already? Take a look at ajax_vote_up_down.js in the module directory. --y