Forums

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

Home Forums JavaScript How to get the height of a div that has no id but multiple classes?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41802
    Mozak104
    Member

    I need to get the height of a div that has three class namely a , b, c
    i.e. `

    `

    I tried using `$(‘a b c’).height();` but this returns null.

    I need to use Jquery for this. Solution using only JS is also welcomed.

    #120079
    Mozak104
    Member

    Thanks jamy_Za

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.