title: how to compare two text input type box values using jquery
body: <p>I have a two textboxes <code>t1</code> and <code>t2</code> . I would like to figure out how in jquery if the values in <code>t1</code> and <code>t2</code> are same I can display an alert message. If user does not change the values I want to prevent the form from being submitted.</p>