你好
我实现头,但无法显示标题(图标添加和设置)。我使用jQuery Mobile的添加标题。在捣鼓我能够看到图标,但在这里我不能够显现。你能帮我吗
<html>
<head>
<link rel="stylesheet" href="css/jquery.mobile-1.3.1.min.css">
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery.mobile-1.3.1.min.js"></script>
</head>
<script>
</script>
<body>
<div data-role="page">
<div data-role="header" data-theme="b">
<h1 class="ui-title" id="hdr" style="text-align:left;margin-left: 10px;">My Cases</h1>
<div class="ui-btn-right" id="addbuttons" data-role="controlgroup" data-type="horizontal">
<a href="#" data-role="button" data-inline="true" data-iconpos="notext" data-icon="gear" data-theme="b">Edit</a>
<a href="#newevent1" data-role="button" data-iconpos="notext" data-inline="true" data-icon="plus" data-theme="b" data-rel="dialog">Add</a>
<a href="#newevent1" data-role="button" data-inline="true" data-theme="b" data-rel="dialog">Edit</a>
</div>
</div>
</div>
</body>
</html>
可能重复(http://stackoverflow.com/questions/11809987/jquery-mobile-button-icons) – Omar