|
|
Модератор форума: dotbot |
Сообщество uCoz Архивариус Корзина Не работает код поиска. |
Не работает код поиска. |
Ребят, помогите. Не работает поиск. Вот код:
Код <div id="hcenter"> <form onSubmit="this.sfSbm.disabled=true" method="post" action="/search/" class="hSearch"> <div class="hSearch_in"> <input class="hSearch_text" type="text" name="query" value="Поиск по сайту..." onBlur="if(this.value=='')this.value='Поиск по сайту...'" onFocus="if(this.value=='Поиск по сайту...')this.value=''"/> <input class="hSearch_submit" name="sfSbm" type="submit" value=" " /> <input type="hidden" name="a" value="2"> </div> </form> </div> www.orange-key.ru
|
ACJIAH,
Код <div id="hcenter"> <form action="/search/" method="get" onsubmit="this.sfSbm.disabled=true" class="hSearch"> <input type="text" size="20" maxlength="40" name="q" class="hSearch_text" value="Поиск по сайту..." onfocus="if(this.value == 'Поиск по сайту...'){this.value = ''}" onblur="if(this.value == ''){this.value = 'Поиск по сайту...'}"> <input type="submit" value=" " name="sfSbm" class="hSearch_submit"> </form> </div> |
ACJIAH, <div id="hcenter"> <form action="/search/" method="get" onsubmit="this.sfSbm.disabled=true" class="hSearch"> <input type="text" size="20" maxlength="40" name="q" class="hSearch_text" value="Поиск по сайту..." onfocus="if(this.value == 'Поиск по сайту...'){this.value = ''}" onblur="if(this.value == ''){this.value = 'Поиск по сайту...'}"> <input type="submit" value=" " name="sfSbm" class="hSearch_submit"> </form> </div> Было ![]() Стало ![]() Но, поиск работает Прикрепления:
9921782.jpg
(6.9 Kb)
·
6670000.jpg
(5.3 Kb)
www.orange-key.ru
Сообщение отредактировал ACJIAH - Суббота, 26 Июл 2014, 13:46:19
|
ACJIAH,
Цитата <div id="hcenter"> <form action="/search/" method="get" onsubmit="this.sfSbm.disabled=true" class="hSearch"> <div class="hSearch_in"> <input type="text" size="20" maxlength="40" name="q" class="hSearch_text" value="Поиск по сайту..." onfocus="if(this.value == 'Поиск по сайту...'){this.value = ''}" onblur="if(this.value == ''){this.value = 'Поиск по сайту...'}"> <input type="submit" value=" " name="sfSbm" class="hSearch_submit"> </div> </form> </div> |
ACJIAH, Цитата <div id="hcenter"> <form action="/search/" method="get" onsubmit="this.sfSbm.disabled=true" class="hSearch"> <div class="hSearch_in"> <input type="text" size="20" maxlength="40" name="q" class="hSearch_text" value="Поиск по сайту..." onfocus="if(this.value == 'Поиск по сайту...'){this.value = ''}" onblur="if(this.value == ''){this.value = 'Поиск по сайту...'}"> <input type="submit" value=" " name="sfSbm" class="hSearch_submit"> </div> </form> </div> Всё работает. Спасибо. www.orange-key.ru
|
| |||
| |||
Будьте в курсе всех обновлений: подпишитесь на наш официальный Telegram-канал uCoz и задавайте вопросы в чате сообщества!