jqueryjavascript to compare input text fields value

jqueryjavascript to compare input text fields value

Hello

Can you please provide sample example to compare multiple text field values, if any of those values are same then mark those textfileds as RED Color

Thanks