Jump to content

Search the Community

Showing results for tags 'contact'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 2 results

  1. Не отправляется мэил, все поля работают, во время отправки пишет "Отправка сообщения....." и виснет, мэил так и не доходит. Где проблема ? —————————————————--HTML:<h4> Форма: </h4></div><div class="toggle-content"><form method="post" id="contactForm" action="mailto:info@kingsize-trading.com"><input type="text" name="senderName" id="senderName" placeholder="Имя" class="requiredField" /><input type="text" name="senderEmail" id="senderEmail" placeholder="Email адрес" class="requiredField email" /><textarea name="message" id="message" placeholder="Сообщение" class="requiredField" rows="8"></textarea><input type="submit" id="sendMessage" name="sendMessage" value="Отправить" /><span> </span></form> //———————————————--custom.js // Ajax Contactif ($("#contactForm")[0]) {$('#contactForm').submit(function () {$('#contactForm .error').remove();$('#contactForm .requiredField').removeClass('fielderror');$('#contactForm .requiredField').addClass('fieldtrue');$('#contactForm span strong').remove();var hasError = false;$('#contactForm .requiredField').each(function () {if (jQuery.trim($(this).val()) === '') {var labelText = $(this).prev('label').text();$(this).addClass('fielderror');$('#contactForm span').html('<strong>*Пожалуйста заполните все поля.</strong>');hasError = true;} else if ($(this).hasClass('email')) {var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;if (!emailReg.test(jQuery.trim($(this).val()))) {var labelText = $(this).prev('label').text();$(this).addClass('fielderror');$('#contactForm span').html('<strong>Не правильный mail адрес</strong>');hasError = true;}}});if (!hasError) {$('#contactForm').slideDown('normal', function () {$("#contactForm #sendMessage").addClass('load-color');$("#contactForm #sendMessage").attr("disabled", "disabled").addClass("btn-success").val('Отправка сообщения...');});var formInput = $(this).serialize();$.post($(this).attr('action'), formInput, function (data) {$('#contactForm').slideUp("normal", function () {$(this).before('<div class="notification-box notification-box-success"><p><i class="fa-check"></i>Спасибо!</strong> Сообщение успешно отправлено.</p></div>');});});}return false;});}
  2. Привет! Собственно, я добавила само поле - но не могу заставить его работать - т.е. письмо приходит без прикрепленного файла. Я догадываюсь, что нужно ковырять contact.php, но в PHP я ноль, поэтому если можно максимально подробно
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy