我正在尝试在用户单击某个按钮后将其禁用。我有这个功能很好的工作,但现在的表格将不会提交…下面是我的javascript:
<script>
$('.button').on('click', function(event) {
$(this).prop('disabled', true);
});
</script>
这又一次很好地禁用了该按钮,但现在我的表单将不会提交。这是一个众所周知的问题吗?
https://stackoverflow.com/questions/50708687
复制相似问题