Home  >  Article  >  Web Front-end  >  $(document).ready(function() {})不执行初始化脚本_jquery

$(document).ready(function() {})不执行初始化脚本_jquery

WBOY
WBOYOriginal
2016-05-16 16:43:551700browse

今天发现一个页面始终不执行初始化脚本,代码如下:

后来发现问题仅仅是因为引用JQuery的时候闭合写法问题,只需要修改闭合方法,如下所示:

不明原因中……

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn