我有一個提交按鈕我的網頁下面的代碼: 的HTML標記是:加入jQuery UI的圖標,一個提交按鈕
<td align="Right"><input type="submit" value="Add Driver" ></td>
和jQuery是:
$("input[type=submit]").button().click(function(event) {
event.preventDefault();
});
會如何我在上面添加了一個UI圖標,具體是ui-icon-circle-plus
我試過了,但是沒有效果 –
看看這個:http://jsfiddle.net/Kfubw/ 你的HTML語法也有錯誤:這是正確的HTML: