有一个页面a.html,上面有一个按钮,这个按钮有一个onclick事件,我想写一个b.html,上面也放一个按钮,想用这个b.html上的按钮点击后在不打开a的情况下实现a上按钮的onclick事件(两个html之间没有关系),请各路大佬指点
CodePudding user response:
There is no way to
CodePudding user response:
The a.h HTML inside the click event of writing a separate js file, then a.h HTML and b.h HTML are the introduction of the file, so that it can be used
CodePudding user response:
As god, maybe there is a chance,,,,
CodePudding user response: