1 | <!--<html>--> |
---|
2 | <!--<head>--> |
---|
3 | <!--<base href="http://www.ajaxdaddy.com/media/demos/play/1/scriptaculous-autocomplete/autocomplete/"/>--> |
---|
4 | <!--<title>X Scriptaculous - Ajax auto-suggest</title>--> |
---|
5 | <!--<meta http-equiv="content-type" content="text/html; charset=utf-8"/>--> |
---|
6 | |
---|
7 | <!--<script src="javascript/prototype.js" type="text/javascript"></script>--> |
---|
8 | <!--<script src="javascript/effects.js" type="text/javascript"></script>--> |
---|
9 | <!--<script src="javascript/controls.js" type="text/javascript"></script>--> |
---|
10 | <!--<link rel="stylesheet" href="css/style.css" type="text/css"/>--> |
---|
11 | <!--</head>--> |
---|
12 | <!--<body>--> |
---|
13 | <!--<div id="container">--> |
---|
14 | <!--<form method="get" action="">--> |
---|
15 | <!--<label for="testinput">Search for a country name</label><br/>--> |
---|
16 | <!--<input type="text" id="search" name="search" autocomplete="off" class="input" value=""/><br/>--> |
---|
17 | |
---|
18 | <!--<div id="update" style="display: none; position:relative;"></div>--> |
---|
19 | <!--<input type="image" name="register" class="submit-btn" src="http://www.roscripts.com/images/btn.gif"--> |
---|
20 | <!--alt="submit" title="submit"/>--> |
---|
21 | <!--</form>--> |
---|
22 | <!--<script type="text/javascript">--> |
---|
23 | <!--//alert('bau');--> |
---|
24 | <!--new Ajax.Autocompleter( 'search', 'update', 'response.php', { tokens: ','} );--> |
---|
25 | |
---|
26 | <!--</script>--> |
---|
27 | <!--</div>--> |
---|
28 | <!--</body>--> |
---|
29 | <!--</html>--> |
---|
30 | <!----> |
---|
31 | |
---|
32 | <html> |
---|
33 | <head> |
---|
34 | <base href="http://www.ajaxdaddy.com/media/demos/play/1/scriptaculous-autocomplete/autocomplete/"/> |
---|
35 | |
---|
36 | <title>X Scriptaculous - Ajax auto-suggest</title> |
---|
37 | <meta http-equiv="content-type" content="text/html; charset=utf-8"/> |
---|
38 | |
---|
39 | <script src="javascript/prototype.js" type="text/javascript"></script> |
---|
40 | <script src="javascript/effects.js" type="text/javascript"></script> |
---|
41 | <script src="javascript/controls.js" type="text/javascript"></script> |
---|
42 | <link rel="stylesheet" href=" css/autocomplete/style.css" type="text/css"/> |
---|
43 | |
---|
44 | </head> |
---|
45 | <body> |
---|
46 | <div id="container"> |
---|
47 | <form method="get" action=""> |
---|
48 | <label for="testinput">Search for a country name</label><br/> |
---|
49 | <input type="text" id="search" name="search" autocomplete="off" class="input" value=""/><br/> |
---|
50 | |
---|
51 | <div id="update" style="display: none; position:relative;"></div> |
---|
52 | <input type="image" name="register" class="submit-btn" src="http://www.roscripts.com/images/btn.gif" |
---|
53 | alt="submit" title="submit"/> |
---|
54 | </form> |
---|
55 | dddd |
---|
56 | <script type="text/javascript"> |
---|
57 | //alert('bau'); |
---|
58 | new Ajax.Autocompleter( 'search', 'update', 'http://localhost:8080/Project_source/resources/js/autocomplete/response.php', { tokens: ','} ); |
---|
59 | |
---|
60 | </script> |
---|
61 | </div> |
---|
62 | </body> |
---|
63 | </html> |
---|