Is it possible in JS or PHP to catch errors when writing a message?


Interested in the question of the possibility of interception of grammatical errors in the comments allocated by the browser.

Example (a screenshot from the Toaster):

What if in the end, like (simplistically):
— introduces the person the text
— clicks on the send button
— if there are errors, print alert

Is it possible?
June 10th 19 at 16:16
1 answer
June 10th 19 at 16:18
it would make sense if browsers determined error in the one hundred percent of cases

and they nick for the mistake I believe, that is, if participants nicknames do not match the words, then nobody will be able to pass your "validation"

Find more questions by tags PHPJavaScript