How to make function give row that have different value with color red to full row ?

How to make function give row that have different value with color red to full row ?

problem


How to give red color for rows on html table that have different values on same row ?

I need when at least one cell from row different from each others

then give red font to full row

if you see below row that have same value on all cell not changed color .

I need function give red color for row that have at least one value different from others on same row

so How to make function do that by jquery or java script do red color for row if it have

at least different cell value .

rows have different values give red rows font
result i need as below 



sample below 
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <table border="1">
  5. <col width="500">
  6. <col width="500">
  7. <col width="500">
  8. <col width="500">
  9. <tr bgcolor="#6699FF" width="100%">
  10.     <th>Part1</th>
  11.     <th>Part2</th>
  12.     <th>Part3</th>
  13.     <th>Part4</th>
  14. <tr>
  15.     <td>12</td>
  16.     <td>12</td>
  17.     <td>12</td>
  18.     <td>12</td>
  19. </tr>
  20. <tr>
  21.     <td>12</td>
  22.     <td>15</td>
  23.     <td>12</td>
  24.     <td>12</td>
  25. </tr>
  26. <tr>
  27.     <td>17</td>
  28.     <td>15</td>
  29.     <td>13</td>
  30.     <td>12</td>
  31. </tr>
  32. </table>

  33. <button id="button">Click Me</button>
  34. </body>
  35. </html>