function setUrlToParam(param, name) {
var url = window.location.href;
url = url.replace('#', '');
if (url.indexOf('?') > 0) {
window.location.href = url.slice(0, url.indexOf('?')) + '?'+ name + '=' + param;
} else {
window.location.href = url + '?'+ name + '=' + param;
}
}


url parameter 를 줌

+ Recent posts