Response title
This is preview!
<!DOCTYPE html> <html> <head> <title>Page Title</title> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.css" />
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Page Title</h1> </div><!-- /header -->
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li>
<a href="page2.php" rel="external">Senderos</a>
</li>
</ul>
</div><!-- /content --> </div><!-- /page -->
</body>
</html>
$.jqplot('chartdiv', [[[1, 2],[3,5.12],[5,13.1],[7,33.6],[9,85.9],[11,219.9]]]);
so my code looks like:
<body> <div data-role="page" id="chart" data-add-back-btn="true" data-theme="f"> <?php include('inc/header.php'); ?> <div data-role="content" data-add-back-btn="true"> <script language="javascript"> $.jqplot('chartdiv', [[[1, 2],[3,5.12],[5,13.1],[7,33.6],[9,85.9],[11,219.9]]]); </script> <div id="chartdiv" style="height:400px;width:300px; "></div> </div><!-- /content --> <footer data-role="footer"> <?php include('inc/footer.php'); ?> </footer> </div><!-- /page --> </body>
© 2013 jQuery Foundation
Sponsored by and others.