localhost/search?search=&style=Rock&year=&country=
function getQueryParameter(param) {
var url = decodeURIComponent(window.location.search.substring(1));
var urlVars = url.split('&');
var parameterName;
for (var i = 0; i < urlVars.length; i++) {
parameterName = urlVars[i].split('=');
if (parameterName[0] === param) {
return parameterName[1] === undefined ? true : parameterName[1];
}
}
};
$('select').val(getQueryParameter('style'));