I think you should check your input form, something should be wrong.
On the
demo site, all the templates of the pages have a gobal search. I use a chunk with the following content:
[!AjaxSearch? &ajaxSearch=`0` &asId=`as0` &showResults=`0` &tplInput=`inputSearch` &landingPage=`17`!]
I use &asId=`as0` because on many pages I have several snippet calls on the same page. But in your case this is not necessary and work without.
The details of the tplInput is the following:
[+as.showInputForm:is=`1`:then=`
<form id="[+as.formId+]" action="[+as.formAction+]" method="post">
<fieldset>[+as.showAsId:is=`1`:then=`<input type="hidden" name="asid" value="[+as.asId+]" />`+]
<input type="hidden" name="advsearch" value="[+as.advSearch+]" />
<label>
<input id="[+as.inputId+]" class="cleardefault" type="text" name="search" value="[+as.inputValue+]"[+as.inputOptions+] />
</label>
<label>
<input id="[+as.submitId+]" type="submit" name="sub" value="[+as.submitText+]" />
</label>
</fieldset>
</form>
`+]
On the landing page 17 I use this snippet call:
[!AjaxSearch? &ajaxSearch=`0` &asId=`as0` &showInputForm=`0` &grabMax=`10`!]
Check your input template and the generated code. You should get something like this (without as0_ prefix):
<form id="as0_ajaxSearch_form" action="index.php?id=17" method="post">
<fieldset><input name="asid" value="as0" type="hidden">
<input name="advsearch" value="oneword" type="hidden">
<label>
<input id="as0_ajaxSearch_input" class="cleardefault" name="search" value="lon" onfocus="this.value=(this.value=='Search here...')? '' : this.value ;" type="text">
</label>
<label>
<input id="as0_ajaxSearch_submit" name="sub" value="Go!" type="submit">
</label>
</fieldset>
</form>
Hope is help you.