Js doesn't work with jQ mobile correct?
Hello.
When I have php page like index.php with structure:
-
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="language" content="en"/>
<title>Mobile Stats</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" />
<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
...
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>MOBILE DASHBOARD</h1>
</div><!-- /header -->
<div data-role="content">
</div>
<div data-role="footer">
<h4> Copyright © <?php echo date('Y'); ?><br/></h4>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>
So, inside the <div data-role="content"> i have google graph.
It works but when i submit filter form index.php?some=2
And google graph is not loaded.
When i refresh the page and i can see the chart correctly.
I'm reading about JQ Mobile loading only second html page and can't understand where should be my google js to be available anywhere in all pages. And specially when i submit the form?