基本上我是网页设计的一个巨大的初学者,我需要帮助确定我在此联系表格中实际将我的电子邮件作为收件人我已经查看了 5 次代码,我知道我可能在某个地方错过了它,但有人可以告诉我在代码中我把我的电子邮件地址作为收件人!
下面是代码的链接:
这是我的 html,其余的在 jsfiddle
<head>
<meta charset="UTF-8">
<title>{name} Portfolio - {Page Name}</title>
<!-- grabs the latest jquery script from google -->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/processForm.js"></script>
<link href="css/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="contactForm">
<div id="contactForm_messageToUser">Your message has been sent.<br />We will be in contact shortly.</div>
<!-- The form that the user will fill out. -->
<form id="contactForm_form">
<table>
<tr>
<th>
Name
</th>
<td>
<input id="user_name" name="user_name" type="text" value="" />
<div id="user_name_message" class="errorMessage">
Please enter your name.
</div>
</td>
</tr>
<tr>
<th>Phone</th>
<td>
<input id="user_phone" name="user_phone" type="text" value="" />
<div id="user_phone_message" class="errorMessage">
Please enter a valid phone number.
</div>
</td>
</tr>
<tr>
<th>Email</th>
<td>
<input id="user_email" name="user_email" type="text" value="" />
<div id="user_email_message" class="errorMessage">
Please enter a valid email address.
</div>
</td>
</tr>
<tr>
<th>Message</th>
<td>
<textarea id="user_message" name="user_message"></textarea>
<div id="user_message_message" class="errorMessage">
Please enter your message.
</div>
</td>
</tr>
<tr>
<th> </th>
<td>
<input id="user_submit" name="user_submit" type="submit" value="Send your message" />
</td>
</tr>
</table>
</form>
</div>
</body>