Wednesday, December 12, 2018

You may query in jQuery for something with more than one class on it!

$(".foo, .bar, .baz, .qux").find('button').attr('style', "display: none;");

 
 

(.find will find something within the element you match upon above.)

No comments:

Post a Comment