Difference between revisions of "Template:Team:TU Eindhoven/Results script"
Line 5: | Line 5: | ||
$("#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"); | ||
− | }; | + | };); |
} | } | ||
</html> | </html> |
Revision as of 20:21, 16 September 2015
$(document).ready(function() { $("#results").click(function(){ $("#test").css("background-color","blue"); };); $("#raw").click(function(){ $("#test").css("background-color","red"); };); }