Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- jQuery Toggle


ChrisBolton - 1:46 pm on Jan 22, 2013 (gmt 0)


I got it to work in the end by using:

(function() {
$('a.a').click(function() {
$(this).toggleClass("c").toggleClass("e").find("span").toggleClass("y").toggleClass("z");
});
})();

Can this be improved?


Thread source:: http://www.webmasterworld.com/javascript/4538096.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com