I am trying to get results from a database, insert that into an <li> and highlight the greater of the two values I get from those two HTML <li> elements. I have made a jsfiddle but am unsure how to get addClass() to change the <li> based on the result of comparing the two values.
I am trying to get results from a database, insert that into an <li>
Share
fiddle
http://jsfiddle.net/syKWz/6/
fixed
li.leader, invalid 7 digits colorleader&followerto compared pairlicode