check value of element by class and edit value if element exists otherwise add new html

后端 未结 0 362
半阙折子戏
半阙折子戏 2020-12-11 04:39

I am adding some elements to the DOM dynamically and and I want to check and edit the value of itemid if it exists before adding new elements by comparing the value of itemi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题