JQuery Selector for dynamic id

后端 未结 4 777
你的背包
你的背包 2021-01-06 03:58

I am trying to change the image source in the Jquery



        
4条回答
  •  清歌不尽
    2021-01-06 04:23

    Either you have access to the ID when the JS is created, or you don't. If you don't then you'll have to find another way to target the item eg: $('.wanted')

    If you do, then put it in: $('#')

提交回复
热议问题