Home  >  Q&A  >  body text

javascript - The current index cannot be obtained during keyup

Cannot get the index of keyup, always get the index corresponding to the last class

滿天的星座滿天的星座2729 days ago784

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-05-19 10:16:56

    is written backwards, it should be $(this).index($(".select2-input"))

    reply
    0
  • Cancelreply