我跟着jquery ui演示,檢查了以前的問題,但不知道爲什麼我的代碼不工作。我試圖使用jQuery UI按鈕佈局按鈕。在這個簡單的例子,我只是想刪除按鈕標籤:jquery ui按鈕不起作用
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript" src="jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="jquery-ui.js"></script>
</head>
<body>
<button type="button" id="b111">a</button>
<script type="text/javascript">
$(document).ready(function(){
$("#b111").button({
text: false
});
});
</script>
</body>
</html>
+1只是要發佈相同的東西:) – Sachin