Creating a CSS class in jQuery

Viewed 38937

I believe the .addClass() function in jQuery attaches a CSS class to the current selection, but I was wondering I could create or define a CSS class in jQuery, and then attach it?

4 Answers
Related