これは私のHTMLとjQueryコードです。ボタンをクリックしても、ブラウザからの応答がありません。
<html>
<head>
<title>jQuery Test</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/toggle.js"></script>
</head>
<body>
<input type="submit" value="button">
</body>
</html>
jQuery
$(':submit').click(function() {
// Act on the event
$('submit').attr('Please wait', 'value')
});
私がフォローしていたオンラインチュートリアル。