简单的拖放JS脚本不起作用

Simple Drag and Drop JS Script not Working?

本文关键字:脚本 不起作用 JS 拖放 简单      更新时间:2023-09-26

对不起,英语不是最好的!

我尝试使用这个简单的Javascript和HTML,以及CSS,拖放,没有得到任何更正!

看看网站,一切都很好,但不起作用?

http://bouncygames.org/smell.php

你必须首先安装 jQuery 和 jQuery UI mang Uncaught ReferenceError: $ is not defined

http://jqueryui.com/download/

你没有安装 jQuery 和 jQuery UI。

为此,请将以下行添加到您的头标签中:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script>