Jq之Datepicker

来源:互联网 发布:飞机制造业知乎 编辑:程序博客网 时间:2024/06/06 09:03

下载ui包后,在目录中新建test文件夹

在test里新建index.html

内容

<!doctype html><html lang="us"><head><meta charset="utf-8"><title>jQuery UI Example Page</title><link href="../css/sunny/jquery-ui-1.9.2.custom.css" rel="stylesheet"><script src="../js/jquery-1.8.3.js"></script><script src="../js/jquery-ui-1.9.2.custom.js"></script><script>$(function() {$( "#datepicker" ).datepicker({inline: true});});</script></head><body><h1>Welcome to jQuery UI!</h1><h2 class="demoHeaders">Datepicker</h2><input type="text" name="sighting_date" id="datepicker"></body></html>

../表示目录的相对偏移
./表示当前目录,../表示上一目录
用过linux的cd命令的对这并不陌生的

工作流程


常用配置



0 0
原创粉丝点击