Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一些基于 javascript var 的 HTML 代码。我想在更新源 var 时更新这些 HTML 代码。因为我在 HTML 中有对象引用,所以我知道要更新哪个 HTML 部分。
我该如何完成这样的事情?谢谢你。
使用 jQuery 修改 DOM。