Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var nnames = [
- {%foreach name=authors item=full_name from=$body%}
- {%if !$smarty.foreach.authors.last%}
- "{%$full_name%}",
- {%else%}
- "{%$full_name%}"
- {%/if%}
- {%/foreach%}
- ];
- $("#search_input").autocomplete({
- source: nnames,
- minLength: 3
- });
- var nnames = [
- "Тестов Т. Т.",
- "Ломоносов М. В.",
- "Фонвизин Д. И.",
- "Гоголь Н. В.",
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement