The +1 API documentation is here: http://code.google.com/apis/+1button/#jsapi
There is no mention of how to determine whether the viewing user has already clicked the button or not. This would be a very useful function because it would allow me to encourage people who haven't +1'd a page to do so without putting users who have already +1'd the page through a needless and possibly confusing step.
Has anyone found a way to do this? Thanks
aria-pressed
attribute (on the button link itself) whether it says true or false (on or off), but Google wraps the button in an iframe, and using jQuery to get the iframe's content throws aUnsafe JavaScript attempt to access frame with URL
error in Chrome (of course, it's cross-domain). I hope someone has an answer to this – Dx