selecting the href attribute

selecting the href attribute

Hi guys,
 I am new to jquery so I am a bit lost at this.
 I am trying to make a poll using jquery and php and am bit lost.
I have a link
<a href="poll.php?vote_id=1&post_id=25">I agree</a>
Now how do i use jquery to select the vote_id and post_id. I need to store them in variables so that I can pass it on to a php file using get statement. I am totally lost and in desperate need for help.
Thanks
leet_2k