【发布时间】:2015-02-04 02:47:33
【问题描述】:
在 jquery mobile 中,我动态添加这样的标签:
str += '<img class="ui-icon-location"/>' + obj['address'] + ', ' + obj['city'] + ', ' + obj['country'];
我想将位置图标放在文本的左侧。图标本身来自类。但由于 src 不存在,我实际上并没有看到该图标。有谁知道如何解决这个问题?
谢谢
【问题讨论】:
标签: javascript jquery jquery-mobile icons