var arr=['./images/1.jpg','./images/2.jpg','./images/3.jpg'];var k=0;var t;function changeSrc(){k++;if(k>2){k=0;}var path=arr[k];$("#img1 img").attr('src',path);$("#img1 div").css('background','');$("#img1 div:eq("+k+")").css('background','orange')
求大神講解下下面的內(nèi)容,("+k+")是什么意思?
呼啦一陣風(fēng)
2023-04-01 13:09:26