$(".skip-btn").click(function(event){
$val = $(".second-tag li a.active").text();
$url = window.location.href;
window.location.href = 'index.html/tag/' + $val;
});
这是一个标签跳转,单选直接跳转到/tag/$val,多选跳转到/tag/xx+xx+xx,js该如何写?

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
光阴似箭催人老,日月如移越少年。