Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Manipulate Multiple Elements on a page with Jquery Re: Manipulate Multiple Elements on a page with Jquery

#49654
Johnnyb
Member

Instead of checking the content why not just change the nav button state on click? When you click a button use css(‘color’,’blue’) for example to change it’s color, and $(this).siblings().css(‘color’,’black’); to change the other links back to their default color.