自動インデントを使用してコード ブロックを記述します。手動タブなし...
$(document).ready(function() {
$("#welc").toggle(function() {
$(this).val("hello");
}, function() {
$(this).val('hell');
});
});
</script>
そのような結果が得られましたが、次のようになるはずです:
<script type="text/javascript">
$(document).ready(function() {
$("#welc").toggle(function() {
$(this).val("hello");
}, function() {
$(this).val('hell');
});
});
</script>
バグですか、何か不足していますか?