版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_19004627/article/details/86698885
SSH到路由器并执行以下命令下载jquery-2.1.1.min。安装jquery在您的设备的web目录中的适当位置。
在HTML文件中包含下载的JQuery源代码如下:
<script type="text/javascript" src="/luci-static/resources/jquery-2.1.1.min.js"></script>
$ cd /www/luci-static/resources
$ wget http://code.jquery.com/jquery-2.1.1.min.js