-1
我正在努力處理這段代碼。使用console-debug作爲ID的div標籤內部的內容並不突出。切換顯示不工作
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jqueryui/1.11.1/jquery-ui.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
$("#console-debug").hide();// By default hide the console-debug
$("#btn-debug").click(function() {
$("#console-debug").toggle();//Then toggle back to show console-debug
});
});
</script>
其中控制檯調試,你調試? –
你的html是什麼?您的示例工程http://jsfiddle.net/eqrprwpa/ –
代碼中沒有問題。我已經檢查過了。 http://jsfiddle.net/4kLomwtc/ –