Visible, hidden and eq selectors in jQuery

We will use the visible, hidden and eq selectors in three possible cases in this example:

  1. We select all visible images and set them to a width of 200 by expanding their original width of 100.
  2. We select all the hidden images and we show them, that is to say, the first and the last image hidden by css.
  3. We select all the visible images and filter image 3 starting from zero and hide it.

Each jquery rule below overwrites the previous one.

Comments

PHP Captcha


Interesting Articles