jQuery日期选择器小部件 [英] jQuery Date Picker Widget

查看:76
本文介绍了jQuery日期选择器小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helo编码器



我是jQuery的新手,我已经在我的机器上下载了jquery-ui-1.11.2。我想将datepicker小部件添加到日期输入字段,但我不知道要指向哪个css或javascript文件才能工作。以下是我的HTML代码.....



 <  !doctype     html  >  
< html lang = en >
< head >
< body >
< 表格 name < /跨度> = >
< 输入 类型 = text name = date >
< / form >
< ; / body >
< / html >

解决方案

请参阅



http://jqueryui.com/datepicker/ [ ^ ]





1)点击查看来源

2)复制

3)运行

4)并了解它是如何工作的


Helo Coders

I'm new to jQuery and i have downloaded jquery-ui-1.11.2 on my machine. I would like to add the datepicker widget to the "date" input field but i do not know what css or javascript files to point to for this to work. Below is my HTML code.....

<!doctype html>
<html lang="en">
<head>
<body>
<form  name="" >
<input type="text" name="date">
</form>
</body>
</html>

解决方案

Refer this

http://jqueryui.com/datepicker/[^]


1) click view source
2) copy
3) run
4) and understand how it works


这篇关于jQuery日期选择器小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆