如何插入jQuery-Mobile按钮与图标



我一直试图在我的网页中插入一个加(+)图标,但它没有显示出来。我不知道为什么,也许我需要一张它的图片,这样它就会显示出来?

<a data-role="button" data-theme="b" data-icon="plus" data-iconpos="right">Save</a>

但是不能正常工作。

有什么建议吗?

示例:http://jsfiddle.net/Gajotres/m4rjZ/

    $('[data-role="content"]').append('<a data-role="button" data-theme="b" data-icon="plus" data-iconpos="right">Save</a>');
    // Enhance new button element
    $('[data-role="button"]').button();    

最新更新