get the current value(clicked value)

get the current value(clicked value)

Dear friends,

i have dynamic row values
<a href="#" compid="1" compane="CSK1">Company</a>
<a href="#" compid="2" compane="CSK2">Company</a>
<a href="#" compid="3" compane="CSK3">Company</a>
<a href="#" compid="4" compane="CSK4">Company</a>

my question is, how can get the current value(clicked value) from on click of the <a href="#> using jquery.