How to get the index of an
  • in a
      [duplicate]
  • Possible Duplicates:
    How to get index of

  • element

  • jQuery - get the index of a element with a certain class

    I have:

    • li1
    • li2
    • li3

    There are some other

      and
    • tags elsewhere.

      I want to get the index of li2 which is in the

        with id parent using jQuery

      • 23
        задан Community 23 May 2017 в 11:54
        поделиться