<button class="update vacancy-submit" tabindex="2">Save</button>
$('.vacancy-submit').click(function(){
var type = $(this).attr('class').not('.vacancy-submit');
console.log(type);
});
我正在尝试将按钮的类放入一个应该说update
而不是的变量中update vacancy-submit