SyntaxFix
Write A Post
Hire A Developer
Questions
The following example is based on jQuery but it can be achieved using any JS tool kit or even plain old JS
$(document).ready(function(){ $("#a").mouseover(function(){ $("#b").css("background-color", "red"); }); });