0
嘿下面的代碼與鉻,Safari和歌劇沒有問題的作品。但它並不適用於Firefox和Internet Explorer。jquery-ui按鈕選擇與Firefox和Internet Explorer
感謝您的幫助!
$("#myButton").button( {icons: {primary: "ui-icon-circle-plus",secondary: "ui-icon-triangle-1-s"}}); $("#myButton .ui-icon-circle-plus").click( function(){alert("myButton");})
您可以在下面的鏈接的例子:http://jsfiddle.net/asiaminor/suw0xs89/
非常感謝它在所有瀏覽器的功能answer.now! – eureka
Np,如果答案幫助你考慮[勾選它](http://stackoverflow.com/help/someone-answers) – blgt