<div style="width: 200px"> ← Define searcher width by setting width to parent node.
<input id="SimpleSearcher"
type="search"
placeholder="Search"
autocomplete="off"
/>
</div>
<script type="text/javascript" charset="utf-8">
$("#SimpleSearcher").searcher();
</script>
<div style="width: 200px">
<input id="IncrementalSearcher"
type="search"
placeholder="Search"
autocomplete="off"
incremental="yes"
onsearch="onSearchHandler.apply(this, arguments)"
/>
</div>
<script type="text/javascript" charset="utf-8">
$("#IncrementalSearcher").searcher();
function onSearchHandler(){
this.loading(true);
/* AJAX or simple JavaScript actions */
}
</script>
<script type="text/javascript" charset="utf-8">
$("#IncrementalSearcher").data("SearchHandler").onsearch = function(){ /* whatever */ };
</script>