Difference between revisions of "Template:Team:TU Eindhoven/Results script"
Line 4: | Line 4: | ||
$("#results").click(function(){ | $("#results").click(function(){ | ||
− | $("#test").css("background-color","blue") | + | $("#test").css("background-color","blue") |
}) | }) | ||
$("#raw").click(function(){ | $("#raw").click(function(){ | ||
− | $("#test").css("background-color","red") | + | $("#test").css("background-color","red") |
}) | }) | ||
Revision as of 20:23, 16 September 2015
$(document).ready(function() { $("#results").click(function(){ $("#test").css("background-color","blue") }) $("#raw").click(function(){ $("#test").css("background-color","red") }) }