mirror of
https://github.com/jimeh/fancy_input.git
synced 2026-02-19 11:36:41 +00:00
61 lines
1.7 KiB
HTML
61 lines
1.7 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
<title>examples</title>
|
|
|
|
<link rel="stylesheet" href="demo.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
|
|
|
<script src="../javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="../suggest_results/jquery.suggest_results.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<link rel="stylesheet" href="../suggest_results/jquery.suggest_results.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
$(document).ready(function(){
|
|
|
|
var data = [
|
|
{title: "head", href: "/head", match: "head zzz"},
|
|
{title: "headache", href: "/headache", match: "headache zzz"},
|
|
{title: "health", href: "/health", match: "health zzz"},
|
|
{title: "healthcare", href: "/healthcare", match: "healthcare zzz"},
|
|
{title: "healthier", href: "/healthier", match: "healthier zzz"},
|
|
{title: "heck", href: "/heck", match: "heck zzz"},
|
|
{title: "hectic", href: "/hectic", match: "hectic zzz"},
|
|
{title: "held", href: "/held", match: "held zzz"},
|
|
{title: "hell", href: "/hell", match: "hell zzz"},
|
|
];
|
|
|
|
$("input").suggest_results({
|
|
data: data
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<br />
|
|
<br />
|
|
<input type="text" name="example1" value="" id="example1" />
|
|
|
|
<br />
|
|
<br />
|
|
<input type="text" name="example2" value="" id="example2" />
|
|
|
|
<br />
|
|
<br />
|
|
<input type="text" name="example3" value="" id="example3" />
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|