<![CDATA[ ajaxSearch with mootools - My Forums]]> https://forums.modx.com/thread/?thread=70890 <![CDATA[Re: ajaxSearch with mootools]]> https://forums.modx.com/thread/70890/ajaxsearch-with-mootools#dis-post-399991 . Anyway, i tried some different character sets, but it doesn't work, and when I change the resource(document) name to latin it works better, but it only search in resource name, not the content. Maybe I am doing something wrong, so here is what I did from the beginning. I installed modx evo, made some templates and just paste the whole code from my web page into a template and created new page in modx and used the template i created. I copied my css and images into assets folder, and anyway the web page displays fine. I did this for 3 or 4 pages, so I created the template for every page. Here is the code for ajaxSearch:
<!-- start AjaxSearch header -->
<script type="text/javascript">
//<![CDATA] asvar=new Array();asvar[0]='{"vsn":"1.9.2","adv":"oneword","sub":"","bxt":"Упишите реч...","cfg":"&extract=`0` &ajaxMax=`10` &moreResultsPage=`6` "}';//]]>
</script>
<!-- end AjaxSearch header -->


Here is the code for search form:
<div id="search">
<form id="ajaxSearch_form" action="index.php?id=1" method="post">
    <fieldset>
    <input type="hidden" name="advsearch" value="oneword" />
    <label>
      <input id="ajaxSearch_input" class="cleardefault" type="text" name="search" value="Упишите реч..." onfocus="this.value=(this.value=='Упишите реч...')? '' : this.value ;" />
    </label>
    <label>
 <input id="ajaxSearch_submit" type="submit" name="sub" value="Тражи" />
  </label>
 </fieldset>
</form>
<p class="ajaxSearch_intro" id="ajaxSearch_intro"></p>
<div id="ajaxSearch_output" class="init"></div></div>


So, is it possible to make ajaxSearch work with cyrilic characters. I can also copy here code from web page if that helps. Anyway, any help would be great, just to start from somewhere. Thanks.]]>
talas301 Nov 15, 2011, 02:05 AM https://forums.modx.com/thread/70890/ajaxsearch-with-mootools#dis-post-399991
<![CDATA[Re: ajaxSearch with mootools]]> https://forums.modx.com/thread/70890/ajaxsearch-with-mootools#dis-post-399244 http://imageshack.us/photo/my-images/406/sajtpocetnasmall.jpg/
Thanks.]]>
talas301 Nov 07, 2011, 07:23 AM https://forums.modx.com/thread/70890/ajaxsearch-with-mootools#dis-post-399244
<![CDATA[ajaxSearch with mootools]]> https://forums.modx.com/thread/70890/ajaxsearch-with-mootools#dis-post-396287 The test page is at http://probaosue.onlinewebshop.net/ .
So, if anyone can take a look and could help me in any way that would be great. Thanks.]]>
talas301 Oct 08, 2011, 04:50 AM https://forums.modx.com/thread/70890/ajaxsearch-with-mootools#dis-post-396287