September 19, 2014 at 4:04 pm #183655
If you mean the
return in the validation part, it just keeps the function from continuing if the validation failed. I could have used an
else if as easily, but I prefer this style.
As for jQuery, sure. I honestly don’t have anything against it.