Создал почтовую форму, но кнопка отправки сообщений неактивна

голоса: 0
Создал почтовую форму. Оплатил пакет "Минимальный".Кнопка отправки сообщения неактивна. Что делать?
Адрес сайта http://vsoch.ucoz.org/
| Автор: | Категория: Доп. функции

Ответов: 1

голоса: 0
 
Лучший ответ

из шаблона глобального блока нижняя часть сайта удалите скрипт

 <script>function agree(){ $('[name=mform] [type=submit], #gbsbm,#mchatBtn,.uf-btn,#addcBut').parent().parent().before("<tr><td colspan=\"2\"><a href=javascript:// onclick='_open(\"/index/?policy=1\",700,500); return false;\'>Согласен с политикой конфиденциальности сайта</a><input class=\"police\" type=\"checkbox\"></td></tr>"); $('[name=mform] [type=submit], #gbsbm,#mchatBtn,.uf-btn,#addcBut').prop("disabled", true); $('input.police').live('click', function(){ if($(this).prop('checked') == 1) { $('[name=mform] [type=submit], #gbsbm,#mchatBtn,.uf-btn,#addcBut').prop("disabled", false); }else{ $('[name=mform] [type=submit], #gbsbm,#mchatBtn,.uf-btn,#addcBut').prop("disabled", true); }});}; function _open( url, width, height ) { window.open( url, 'test', 'scrollbars=1,resizable=1,width=' + width + ',height=' + height + ',left=' + ((window.innerWidth - width)/2) + ',top=' + ((window.innerHeight - height)/2) );} agree();</script>

и попробуйте снова

| Автор:
Выбор ответа лучшим | | Автор: Yuri_Geruk
Спасибо огромное!!! Два часа бился над этим. Помогло. Все заработало!!!
...