how to pass the variable value to href argument in anchor tag.
$('#a_tag_id').attr('href','http://www.google.com?jobid='+id);
The selector should be for id '#', and the querystring starts with "?".
BTW: Isn't this question following up on your last question: Pass an id to anchor tag ?