(Replaced content with " ") Tag: Mobile edit |
|||
Line 1: | Line 1: | ||
− | + | var td1 = jQuery(".diff th:nth-child(1)").text(); var td2 = jQuery(".diff th:nth-child(2)").text(); | |
+ | jQuery(".diff").prepend("Difference Between "+ td1 + " And " + td2); jQuery(".diff tr td:nth-child(even)").prepend(td2); jQuery(".diff tr td:nth-child(odd)").prepend(td1); |
Revision as of 11:49, 16 April 2016
var td1 = jQuery(".diff th:nth-child(1)").text(); var td2 = jQuery(".diff th:nth-child(2)").text(); jQuery(".diff").prepend("Difference Between "+ td1 + " And " + td2); jQuery(".diff tr td:nth-child(even)").prepend(td2); jQuery(".diff tr td:nth-child(odd)").prepend(td1);