jQuery toggle class
问题 I'm having trouble adding in jQuery's toggleClass function into the rest of my code. The page has several HTML5 audio tags on it which are controlled via jQuery. I attempted to add the toggle function to my jQuery audio control function, but it's not adding the class and subsequently the audio control doesn't work.. so I suppose it's some weird syntax error. What do you guys recommend? Below is a jsFiddle and a my (unfortunately) weak attempt :) http://jsfiddle.net/danielredwood/FTfSq/10/