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.
我有简单的按钮:
<button class="btn primary cart dropup" data-tippy-html="#cart8">
在另一个文件中,我对此有非常简单的结构
<div id="cart8" class="hidden"> aaa </div>
但看起来我无法使用 js 更新该 div 的内容
$("#cart8").html(ajax_load).load(loadUrl);