Php 用于搜索的移动JQuery自动完成href链接
我有移动jquery搜索,我的问题是href链接搜索输入框没有搜索值。只有带有href的listbox,我想在mysql中使用$POST中的$值进行搜索 我的php代码Php 用于搜索的移动JQuery自动完成href链接,php,jquery-mobile,Php,Jquery Mobile,我有移动jquery搜索,我的问题是href链接搜索输入框没有搜索值。只有带有href的listbox,我想在mysql中使用$POST中的$值进行搜索 我的php代码 <!DOCTYPE html> <?php include_once('database.php'); $db = new database($con); $db->dbconnect(); $array_names = $db->populate_li();
<!DOCTYPE html>
<?php
include_once('database.php');
$db = new database($con);
$db->dbconnect();
$array_names = $db->populate_li();
?>
<div data-role="page" id="filterMe">
<div data-role="content">
<ul data-role="listview" data-filter="true">
<?php
foreach($array_names as $value) {
echo "<li class='ui-screen-hidden'>"."<a href='#'>".$value ."</a></li>" . "</br>"; }?>
</ul>
</div> <a href="#" data-role="button" class="val">Retrieve values</a>
<p class="values"></p>
</div>