-1

I've been trying to insert a Plus(+)ICON in my web page but it does not show up. i don't know why or maybe i need a PICTURE of it so that it will show up ?

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

but it does not work fine.

Any suggestion on how i get it to appear ?

4

1 回答 1

2

工作示例: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();    
于 2013-05-15T13:35:42.503 回答