Hi all,

I have two text boxes and I want to compare the values entered into both of them in real time without sending any data to the server hence why I thought javascript would be the best langauge since is client side.

If the values entered into the text boxes are the same I want an error message or a message box to be displayed stating this is not allowed and to ask the user to change one of the values. As soon as the values are different the user can submit the form

Any help would be great