标签:start 模拟点击 ini creat span eve ora sele sel
1 var btn = document.querySelectorAll(‘.所点击的类名‘)[0]; 2 var event = document.createEvent(‘Events‘); 3 event.initEvent(‘touchstart‘, true, true); 4 btn.dispatchEvent(event);
标签:start 模拟点击 ini creat span eve ora sele sel
原文地址:https://www.cnblogs.com/nlyangtong/p/10861449.html