Set data-iconpos="bottom"
Description
The following code shows how to set data-iconpos="bottom".
Example
<!DOCTYPE html>
<html>
<head>
<title>- jsFiddle demo by hungerpain</title>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.9.1.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.css">
<script type='text/javascript'>//<![CDATA[
$(window).load(function(){<!-- w ww . ja v a2s.co m-->
$(function(){
$("#change").click(function(){
$("li:nth-child(2) a").find(".ui-btn-text").text("Profile");
});
});
});//]]>
</script>
</head>
<body>
<footer id="footer" data-role="footer" data-position="fixed">
<div id="nav" data-role="navbar">
<ul>
<li><a href="#" data-icon="home" data-iconpos="bottom">Home</a></li>
<li><a href="#login" data-icon="gear" data-iconpos="bottom"
data-transition="flip" class="ui-btn-active ui-state-persist">Login</a></li>
<li><a href="#info" data-icon="info" data-iconpos="bottom"
data-transition="flip">Info</a></li>
</ul>
</div>
</footer>
</body>
</html>