Wpis z mikrobloga

@macza:

Again, different browsers implement this differently. In Opera it's sufficient to enter just *@* for the input to be accepted. In Safari, Chrome and Firefox you need to enter at least *@-.-. Obviously neither example is very limiting, but it will prevent people from entering completely wrong values, such as phone number, strings with multiple '@'s or spaces.


Domyślne opcje są bardzo bazowe, jak chcesz poprawnego sprawdzania to musisz to