Sunday 15 September 2013

How do I add multiple classes/IDs to this jQuery code? -


In the following code, if I want to add more than one category or ID, how do I go about doing this?

  $ ("#top-content"). Custom scrollbar ();   

So, suppose I have customScrollbar (); should be applied to both #main content and .song -List . Can I separate them from a comma?

use ,

  $ ( "# Main content, .song-list") customScrollbar () .;   


No comments:

Post a Comment