| <html> |
| <head> |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta> |
| <meta name="layout" content="default"></meta> |
| <title>Auto-Complete Google Example</title> |
| <script> |
| <!-- |
| function bodyOnload() { |
| var autoComplete = new Grails.AutoComplete("googleAutoComplete", |
| "googleTextField", |
| "/grails-app/app/google/search" ); |
| } |
| // --> |
| </script> |
| </head> |
| <body onload="bodyOnload();"> |
| |
| <form action=/search name=f> |
| <table border=0 cellspacing=0 cellpadding=4> |
| <table cellspacing=0 cellpadding=0> |
| <tr><td width=25%> </td> |
| <td align=center> |
| <input id="googleTextField" maxLength=256 size=55 name=q value=""> |
| <input type=submit value="Go" name=btnG> |
| </td> |
| </tr> |
| </table> |
| </form> |
| </body></html> |