View Single Post
Old 07-08-2014, 09:43 PM   #194
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Quote:
Originally Posted by jaydorn View Post
I've gotten part of the way there, I'm able to check option #1 using this as a bookmarklet:

javascript:jQuery("#PDI_answer37166779").attr('che cked', 'checked');

The #PDI_answer37166779 is the ID on the first radio button, and from what I can gather the "vote" button being loaded on the Alberta Gov site has a consitant ID of #pd-vote-button58765... or at least it is for me.

But the ID on the polldaddy URL seems to be generated dynamically, but there is actually a form there.

Also, hello to our new friends from the NSA.
There's a function vote(D) {} in the community.js that composes the URL, the D is the onclick event when clicking on the Vote link (it's not an actual submit button). Can you just create an onclick event and call that function and pass it in? No idea what bookmarklets are
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote