-1
form.php的jQuery Mobile的形式崗位價值不工作
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="lib/jmobile/jquery.mobile-1.4.5.min.css">
<script src="lib/jmobile/jquery.js"></script>
<script src="lib/jmobile/jquery.mobile-1.4.5.min.js"></script>
<head>
<body class="ui-page-theme-a">
<div data-role="page">
<div role="main" class="ui-content">
<form action = "aksi.php" method = "post">
<input type="text" name="cari" placeholder="cari informasi...">
<input type="submit" value="PROSES">
</form>
</div>
</div>
</body>
</html>
aksi.php
<?php
$lihat = $_POST['cari'];
echo $lihat;
?>
爲什麼aksi.php不能從form.php的值?
如果我不能包括jQuery的手機,它的腳本運行良好。
請在問題中包含相關信息。堆棧溢出不是尋找清道夫。 – David
對不起,我會修復它 – Trisna
什麼是echo'd?你嘗試過'isset($ _ POST ['cari'])'來確認嗎?任何錯誤? – camelCase