我正在考虑根据注册表格上提供的电子邮件回发给注册人的电子邮件。我假设代码必须链接到注册按钮操作,但是我不确定如何对此进行编码。 是否有一个简单的javascript解决方案?
我的代码:
<fieldset>
<legend>Your Details</legend>
<div class="control-group">
<label for="uName" class="control-label">Username</label> <div class="controls">
<input id="uName" type="text" name="uName" value="" class="ccm-input-text" /> </div>
</div>
<div class="control-group">
<label for="uEmail" class="control-label">Email Address</label> <div class="controls">
<input id="uEmail" type="text" name="uEmail" value="" class="ccm-input-text" /> </div>
</div>
<div class="control-group">
<label for="uPassword" class="control-label">Password</label> <div class="controls">
<input id="uPassword" type="password" name="uPassword" value="" class="ccm-input-password" /> </div>
</div>
<div class="control-group">
<label for="uPasswordConfirm" class="control-label">Confirm Password</label> <div class="controls">
<input id="uPasswordConfirm" type="password" name="uPasswordConfirm" value="" class="ccm-input-password" /> </div>
</div>
</fieldset>
<div class="span10 offset1">
<div class="actions" style="background: transparent;">
<input type="hidden" name="rcID" id="rcID" value="" class="ccm-input-hidden" /> <input type="submit" class="default btn ccm-input-submit" id="register" name="register" value="Register >" /> </div>