gpt4 book ai didi

javascript - jQuery 不响应 : JSFiddle?

转载 作者:太空宇宙 更新时间:2023-11-03 19:43:15 24 4
gpt4 key购买 nike

这是我的 JsFiddle link .我正在测试 jQuery 的工作原理,但它没有。我犯了什么错误吗?我检查了 jQuery 的文档,一切似乎都没问题。怎么了?

$(document).ready(function() {
//insert code here
alert("this will flre when the DOM is loaded.");
});

最佳答案

首先选择下图中给出的库

enter image description here

然后你可以像下面这样调用jQuery

$(document).ready(function(){
alert("All is well");
});

看看这个现场 fiddle http://jsfiddle.net/mayooresan/TTu3C/

关于javascript - jQuery 不响应 : JSFiddle?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15760917/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com