How to using autocomplete function in
or

It is a sample code example for using autocomplete function in form and input. It is usful and convenient when you create form and other input area.
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width,user-scalable=no"/>
<script src="./lib/jquery.js"></script>
<script type="text/javascript" src="./lib/tau/mobile/js/tau.js" data-build-remove="false"></script>
<link rel="stylesheet"  href="./lib/tau/mobile/theme/default/tau.css">
</head>
<body>

<form method="get" autocomplete="on">
    First name:<input type="text" name="fname" /><br />
    Last name: <input type="text" name="lname" /><br />
    <button type="submit">submit</button>
</form>
</body>
</html>

Responses

0 Replies