I don't want to sound mean, but how can you offer services when you can't solve such a simple issue.
You just send the values inside the textarea to the server and then compare them there. Either send them once text is changed or when you press a button. Pretty simple really.