HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/htdocs/dropfile/php/uploads/index5.php
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Demo</title>
  <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/minified/jquery-ui.min.css" type="text/css" /> 
</head>
<body> 

	<form action='reportgIn4.php' method='post'>
		<p><label>公司:</label><input type='text' name='name' value='' class='auto'></p>
		<p><label>欄位:</label><input type='text' name='item' value='18' ></p>

<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.1/jquery-ui.min.js"></script>	
<script type="text/javascript">
$(function() {
	
	//autocomplete
	$(".auto").autocomplete({
		source: "search.php",
		minLength: 1,


	});				

});
</script>

    <tr>
	<br>
      <td width="229" scope="row"><input type="submit" name="submit" value="Submit" /></td>
      <td>&nbsp;</td>
    </tr>

  </table>
  </form>
</body>
</html>