Last active
March 3, 2016 03:21
-
-
Save kaz/4845c7787f711a5f0125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(a,c){var b=a("#ctl00_ContentPlaceHolder1_ctl00_div tr");1>=b.size()&&(b=a("#ctl00_ContentPlaceHolder1_div tr"));b.find("td:eq(5)").each(function(){c(this.textContent)||(this.textContent=100,a(this).parent().find("td").css("background-color","white"))}).end().find("td:eq(6)").each(function(){c(this.textContent)||(this.textContent=4.5)})})(jQuery,isNaN); | |
/* | |
(function($,isNaN){ | |
let $e = $("#ctl00_ContentPlaceHolder1_ctl00_div tr"); | |
if($e.size() <= 1){ | |
$e = $("#ctl00_ContentPlaceHolder1_div tr"); | |
} | |
$e.find("td:eq(5)").each(function(){ | |
if(!isNaN(this.textContent)){ | |
this.textContent = 100; | |
$(this).parent().find("td").css("background-color", "white"); | |
} | |
}).end().find("td:eq(6)").each(function(){ | |
if(!isNaN(this.textContent)){ | |
this.textContent = 4.5; | |
} | |
}); | |
}(jQuery,isNaN)); | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment