What do [] brackets after a Jquery selector mean?

后端 未结 7 689
借酒劲吻你
借酒劲吻你 2021-01-18 07:22

I\'m using this code to play a preloaded mp3 file.

var shuffle = $(\"#shuffle\")[0]; 

shuffle.play();

Shuffle is my id. I got the code o

相关标签:
7条回答
  • 2021-01-18 08:18

    Its means the chronological order of object to be process always used on array [0],[1],[2]... you can check Here

    0 讨论(0)
提交回复
热议问题