i have the following input in my form:
<input class="input-group-field" id="email" name="email" type="email" size="1" required="">
I am using jQuery validation plugin to validate the form before an ajax request. It works fine, BUT why the hell is this email input valid:
abc@esd
So if I am not adding a top level domain it seems to be a valid email?
whereas a abc@esd. is invalid
Any Idea whats wrong or what I can do to prevent this?
The code:
if ($("#valForm").valid()) {
// Do Stuff
}
I have not set up any rules
Thanks