Quote:
Originally Posted by jaydorn
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