I have a list of links which all have different values but the same id (yes that was my mistake). How can I get the value of the link please see below for my link code.

Code:
<a href='#' id='bookmark' onclick='bookmark()' value='"+rtndata[j].venueid+"'></a>
When the link is clicked the function bookmark is called within that function I want to get the value of the link clicked

any help will be greatly appreciated