
jQuery
$(".btn_right").click(function() {
userId = $(this).data('id');
userWeapon = $(this).data('weapon');
});
HTML
<span class="btn_right" ><a href="" data-id="150" data-weapon="柔術">ボタン</a></span>
var 優技録 = []string{ "Golang", "Vue.js", "AWS", "PHP", "DB", "IaC", "SRE"}

jQuery
$(".btn_right").click(function() {
userId = $(this).data('id');
userWeapon = $(this).data('weapon');
});
HTML
<span class="btn_right" ><a href="" data-id="150" data-weapon="柔術">ボタン</a></span>