i can reference link with specific id with following code
$(document).ready(function(){
$("a#example_link_id").click(function(event){
var url = $(this).attr("href");
get_uid(url);
//event.preventDefault();
});
});
is it possible to use $("a#example_link_id") this by link name
Your selector(s) can include specific attributes as well. For example:
Which would select
For more information, http://api.jquery.com/category/selectors/