我遇到問題在我的網站上獲取聯繫表單工作!聯繫表格不在網站上工作
下面是HTML
<form id="contact-form">
<div class="success"> Contact form submitted! <strong>We will be in touch soon.</strong></div>
<fieldset>
<label class="name">
<input type="text" value="Enter Your Name:">
<span class="error">*This is not a valid name.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="email">
<input type="text" value="Enter Your E-mail:">
<span class="error">*This is not a valid email address.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="phone">
<input type="text" value="Enter Your Phone:">
<span class="error">*This is not a valid phone number.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="message">
<textarea>Enter Your Message:</textarea>
<span class="error">*The message is too short.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<div class="buttons"><strong><a class="button" data-type="reset">Reset<span></span></a></strong><strong><a class="button" data-type="submit">Submit<span></span></a></strong></div>
</fieldset>
</form>
這裏是JavaScript往上頂!
$(function(){
$('#contact-form').forms({ownerEmail:'[email protected]'})
});
那麼你的問題是什麼? –
@BillGregg - 哦,哦,我知道,我知道! 「這不起作用」 – LittleBobbyTables
問題是它沒有提交信息給我的電子郵件。 – Kizuka