Further pz2.js updates.
[pazpar2-moved-to-github.git] / www / pz2_js / index.html
index 46108c8..5f90366 100644 (file)
@@ -1,16 +1,16 @@
 <html>
  <head>
   <style type="text/css"></style>
+  <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="pz2.js"></script>
   <script type="text/javascript" src="client_pz2.js"></script>
-  <script type="text/javascript" src="jquery.js"></script>
  </head>
-<body onload="init();">
+<body>
  <table width="100%" border="0" cellpadding="2" cellspacing="2">
   <tr>
    <td width="250" height="100" align="center"><b>pz2.js test</b></td>
    <td>
-    <form name="search" onsubmit="my_paz.search(this.query.value, 15, 'title'); return false;">
+    <form id="searchForm" name="search">
      <b>Search:</b>
      <input id="query" type="text" size="50"/>
      <input type="submit" value="Go"/>