Hi Coroico,
I’m just playing with AS 1.90 (ajaxSearch190_6909.zip) from your site
http://www.modx2.wangba.fr/index.php?id=122
After I changed some parameternames, the search works like before (AS 1.84). But the included clearDefault.js looks totally different from the old one, delivered with AS 1.84. and the behavior is a little bit different:
Clearing of default
on focus: works in AS 1.84 and AS 1.90
Resetting of default value
on losing focus: works in AS 1.84,
doesn’t work in AS 1.90
When I replace the new clearDefault.js with the old one, everything is okay.
Could you please have a look at the new clearDefault.js in ajaxSearch190_6909.zip?
I’m still using MODx 1.02.
My code of search form (AS 1.90 syntax):
<div id="search">
[!AjaxSearch? &ajaxSearch=`0` &tplLayout=`asForm` &advSearch=`allwords` &showResults=`0` &landingPage=`8` &showIntro=`0` &language=`german` &clearDefault=`1`!] </div>
Code on landing page:
[!AjaxSearch? &ajaxSearch=`0` &showInputForm=`0` &language=`german` &pagingType=`0` &whereSearch=`content|jot|tv` &tplPaging0=`asPaging` &tplResults=`asResults` &tplResult=`asResult` &grabMax=`10` &asLog=`2:0:250`!]