如何在html中调用脚本,HTML 调用JavaScript脚本-CSDN博客在JS文件中,只能包含JS代码,不能包含标记和HTML代码。在引用JS文件的与中间不能包含其他的JS代码,否则会忽略处理。无标题文档function Check(data){var year1 = form1.year.value;if((year1 % 4 == 0) && (year1 % 100 != 0)){alert(year1 + " 闰...... admin2023-10-14