Change the icon of a jQuery UI button with own image

后端 未结 7 1692
慢半拍i
慢半拍i 2020-12-10 01:31

Currently I have the following jQuery UI button:

$(\'#button\').button(
  {
    label: \'Test\',
    icons: {primary: \'ui-icon-circle-plus\', secondary: nul         


        
相关标签:
7条回答
  • 2020-12-10 01:56

    easy or easy

    #bildwechseln {
    background-image: url('../images/my-png/bild.png');
    width: 140px;
    height: 140px;}
    
    <button id="bildwechseln"></button>
    

    Greetings from Germany

    0 讨论(0)
提交回复
热议问题