I have a HTML textbox where user will input some string which i want to pass to a JavaScript function:
<input type="text" id="ad_search_query" style="width:295px">
<input type="button" value="<s:text name="button.search"/>" class="p-userButton"
onClick="ADSEARCHGF.showTable('');"/>
Please suggest how can i do it.
{}to add 4 spaces to a line to display it as code.