There’s two link A and B if A is clicked, I want other one to change it to be green. Here’s what i have done but it’s not working.
You’re mixing up syntaxes, either use `.css(property, value)` or `.css(Object with property: value pairs)`
Two things wrong here. First, you didn’t have a jQuery library selected (it was set to “No-library”). Second, remove the curly brackets around the part where you set the color. Result: http://jsfiddle.net/senff/Lhkn6/7/
Edit: ….and what Crocodillon said. :)
Thanx a lot senff and Croc. Thanx once again!
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".