时间:2021-07-01 10:21:17 帮助过:46人阅读
<!DOCTYPE html><html lang="en"> <script src="js/main.js?1.1.11"></script> <script src="js/white.js?1.1.11"></script> <script src="js/main1.js?1.1.11"></script> <script src="js/white1.js?1.1.11"></script> <head></head><Button value="ceshi" onclick="a()">main white</Button><Button value="ceshi" onclick="b()">main1 white1</Button><body></body></html>
几个js文件小案例
"main---->a()""white---->a()""main1---->b()""white1---->b()"
以上就是有关于如何解决js重名方法的先后调用问题的详细内容,更多请关注Gxl网其它相关文章!