Hi is possible to change the text of back and search in smartselect dinamically?
I tried
$$(’#select_s’).attr(“data-searchbar-placeholder”,newSearch);
$$(’#select_s’).attr(“data-back-text”,newBack);
But no success.
Thanks
Hi is possible to change the text of back and search in smartselect dinamically?
I tried
$$(’#select_s’).attr(“data-searchbar-placeholder”,newSearch);
$$(’#select_s’).attr(“data-back-text”,newBack);
But no success.
Thanks
Catch pageInit event (solution was on old forum) then change values using
Dom7 $$() methods
Ok, in reality it work perfectly fine independently of pageInit.
Only I made a mistake: it needs to be attached to the tag “a” and not to "select"
Thanks!