Kalwin,
<script>
window.addEventListener('DOMContentLoaded', function() {
var primary = document.querySelector('.btn-primary'),
success = document.querySelector('.btn-success');
primary.addEventListener('click', function() {
success.removeAttribute('disabled')
});
});
</script>