Skip to content

Instantly share code, notes, and snippets.

@amin007
Last active August 29, 2015 14:22
Show Gist options
  • Save amin007/d0e819e88bdd1585acd9 to your computer and use it in GitHub Desktop.
Save amin007/d0e819e88bdd1585acd9 to your computer and use it in GitHub Desktop.
masalah data-ajax=false
<?php
echo '<pre>'; print_r($_POST) . '</pre>';
<!DOCTYPE html>
<html>
<head>
<title>SSE 2015</title>
<!-- Include meta tag to ensure proper rendering and touch zooming -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="home">
<div data-role="header" class="header">
<div data-role="navbar">
<ul>
<li><a href="#anjung" data-icon="home">Anjung</a></li>
<li><a href="#icon" data-icon="bullets">Kawal</a></li>
<li><a href="#cari" data-icon="search">Cari</a></li>
<li><a href="#anylink" data-icon="grid">Laporan</a></li>
<li><a href="#slogout" data-icon="lock">Keluar</a></li>
</ul>
</div>
</div>
<div data-role="content">
<form method="POST" action="borang.php">
<label for="fname">First name:</label>
<input type="text" name="fname" id="fname">
<input type="submit" name="hantar" value="hantar">
</form>
</div><!-- Footer
================================================== -->
<div data-role="footer" style="text-align:center;">
<h4>&copy; Hak Cipta Terperihara 2015. </h4>
<span> Theme Asal Jquery Mobile </span>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>SSE 2015</title>
<!-- Include meta tag to ensure proper rendering and touch zooming -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="home">
<div data-role="header" class="header">
<div data-role="navbar">
<ul>
<li><a href="#anjung" data-icon="home">Anjung</a></li>
<li><a href="#icon" data-icon="bullets">Kawal</a></li>
<li><a href="#cari" data-icon="search">Cari</a></li>
<li><a href="#anylink" data-icon="grid">Laporan</a></li>
<li><a href="#slogout" data-icon="lock">Keluar</a></li>
</ul>
</div>
</div>
<div data-role="content">
<form data-ajax="false" method="POST" action="borang.php">
<label for="fname">First name:</label>
<input type="text" name="fname" id="fname">
<input type="submit" name="hantar" value="hantar">
</form>
</div><!-- Footer
================================================== -->
<div data-role="footer" style="text-align:center;">
<h4>&copy; Hak Cipta Terperihara 2015. </h4>
<span> Theme Asal Jquery Mobile </span>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment