让js中的函数只有一次有效调用

设置隐藏域~

<input type="hidden" value="1" id="flag" />

其它三种方法

posted @ 2019-11-12 18:56  vvull  阅读(188)  评论(0编辑  收藏  举报