我想在显示下一张卡片前执行一些清理的工作

我想在点击回答按钮的时候,执行一些清理的工作,我该如何做。

因为我通过javascript在当前卡片上显示的一些与此卡片相关的元素,但当我学习另一张卡片时,这些元素并没有消失,我需要手动去关闭它。

我现在希望,只要我完成这张卡片的学习,换成另一张卡片学习时,与此卡片相关的元素全部关闭。

如下所示,“注意用法4”是上张卡片留下的说明

Maybe post the code too for others to see?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.