login / register
voyager
Home » Developer Guide » Add a Voyager search box to a web page

Add a Voyager search box to a web page

Adding a search box to a web page is easy with the following code. 


<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <title>Search Voyager</title>
  </head>

  <body>
    <form id="searchForm" action="http://localhost:8888">
      <input type="text" id="searchField" name="q" placeHolder="Search Voyager"/>
      <input type="button" value="Submit"/>
    </form>
  </body>
</html>

Note, you'll need to change the "action" attribute of the form to the correct URL


» Show in Whole Document