我不能讓按鈕工作,真的失去了什麼問題。JQuery按鈕處理
<script>$(document).ready(function() {
$("signup-button").click(function() {
console.log("hello");
});
});</script>
<div class="username-input form-horizontal">
<!-- <div class="form-group"> -->
<label for="inputUsername" class="col-sm-2 control-label">Username</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="inputUsername" placeholder="Username">
</div>
</div>
<button class="signup-button col-sm-1 control-label">Sign in </button>
'$( 「註冊鍵」)' – Satpal 2014-12-03 07:14:52