UNPKG

sku-pg

Version:

Skulpt is a Javascript implementation of Python 2.x. Python that runs in your browser!

41 lines (37 loc) 1.04 kB
<!DOCTYPE html> <html> <!-- Copyright 2007 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <!-- --> <head> <title>goog.ui.ac.Remote</title> <script src="../base.js"></script> <script> goog.require('goog.ui.ac.Remote'); </script> <link rel="stylesheet" href="css/demo.css"> <link rel="stylesheet" href="../css/autocomplete.css"> </head> <body> <h1>goog.ui.ac.Remote</h1> Google Buzzwords:<br> <input type="text" id="txtInput" style="width:500px"><br> <p> This data is being pulled from the server at <a href="autocompleteremotedata.js">autocompleteremotedata.js</a>. </p> <p> Ideally the server would perform a search on the query and would only return relevant results; however, this response is static. </p> <script> var input = document.getElementById('txtInput'); var ac = new goog.ui.ac.Remote('autocompleteremotedata.js', input); </script> </body> </html>