(2016-02-05, 15:00:20)0zz Wrote:Code:<form action="http://rkvaqt.uz/index.php?id=search" method="POST" class="search">
<input type="text" name="words" class="search-words" value="something" placeholder="Поиск по сайту"/>
<input type="submit" name="search" class="search-submit" value="Найти" />
<script type="text/javascript" src="http://rkvaqt.uz/plugins/i18n_search/js/jquery.autocomplete.min.js"></script>
<script type="text/javascript">
$(function () {
var $live = $('ul.search-results.search-live');
// add css file
$('head').append('<link rel="stylesheet" type="text/css" href="http://rkvaqt.uz/plugins/i18n_search/css/jquery.autocomplete.css"></link>');
$('form.search input[name=words]').autocomplete(
"http:\/\/rkvaqt.uz\/plugins\/i18n_search\/ajax\/suggest.php?langs=,en", {
minChars: 1,
max: 50,
scroll: true,
multiple: true,
multipleSeparator: ' '
});
});
</script>
</form>
The URL pattern is default and no changes to the default .htaccess
- I tried switching on and off Friendly URLs in AdminPanel - same result.
This information does not match your problem description:
* above form uses POST, but in your description you state that the URL is http://.../?words=something&search=Найти, which is a GET.
Looking at the source of your site, you manually add a form (without action!) and then call get_i18n_search_form inside resulting in
Code:
<form class="navbar-form navbar-right search" role="search">
<form action="http://rkvaqt.uz/index.php?id=search" method="POST" class="search">