how to pass the variable value to href argument in anchor tag.
Modify the jquery like this
$('#a_tag_id').attr('href','http://www.google.com&jobid='+id);