Difference between revisions of "Template:Team:TU Eindhoven/Results script"

(Created page with "<html> </html>")
 
Line 1: Line 1:
 
<html>
 
<html>
 +
 +
$(document).ready(function() {
 +
 +
$("#results").click(function(){
 +
$("#test").css("background-color","blue");
 +
}
 +
$("#raw").click(function(){
 +
$("#test").css("background-color","red");
 +
}
 +
 +
}
 +
 
</html>
 
</html>

Revision as of 20:18, 16 September 2015

$(document).ready(function() { $("#results").click(function(){ $("#test").css("background-color","blue"); } $("#raw").click(function(){ $("#test").css("background-color","red"); } }