title: How to pass html textbox value to a javascript function
body: <p>I have a HTML textbox where user will input some string which i want to pass to a JavaScript function:</p>
  
  <pre><code>&lt;input type="text" id="ad_search_query" style="width:295px"&gt;&amp;nbsp;
  &lt;input type="button" value="&lt;s:text name="button.search"/&gt;" class="p-userButton"
   onClick="ADSEARCHGF.showTable('');"/&gt; 
  </code></pre>
  
  <p>Please suggest how can i do it.</p>