我喜欢
<td> <label for="email" class="required">To:</label></td>
<td><input type="email" id="email" name="Email" class="k-textbox" placeholder="e.g. myname@example.net" required data-email-msg="Email format is not valid" "/></td>
并在
中document.ready(function(){} I have defined like
var validator = $("#email").kendoValidator().data("kendoValidator");
验证单个电子邮件,我想一次验证多封电子邮件,您可以告诉我如何验证多封电子邮件
答案 0 :(得分:0)
然后,您应该将属性multiple
添加到输入标记:
<input type="email"
id="email"
name="Email"
class="k-textbox"
placeholder="e.g. myname@example.net"
required
data-email-msg="Email format is not valid"
multiple="multiple"/>
您现在可以添加以逗号分隔的多个电子邮件地址。