I am doing this but it's not working
html
<a href="#filter-year-y2013" data-filter-value=".y2013">2013</a>
jquery
var token = document.location.href.split('=')[1];
var attribu = "." + token;
$('a[data-filter-value= attribu]').css("background", "#ddd");
This question is different from this other question as I am not asking to target any selector with variable but a data attribute