html表选择问题中的Datepicker如何... [英] Datepicker in html table selection problemHow do I...
问题描述
i有一个带有日期列的html表。我有文本框有DATEPICKER类我希望在这个列中获取日期选择器
当我用的时候像
$( document )。ready( function (){
$(' .datepicker')。datepicker();
});
i我在表格的每一行都有日期选择器。但是当我在任何一个日期选择器中选择日期时,只有第一行的日期选择器才会改变。
任何人都可以帮助我
Thnaks
kunjammu
添加了 pre
标签。
[/ Edit]
( document )。ready( function (){
(' .datepicker')。datepicker();
});
i获取日期选择器在表格的每一行。但是当我在任何一个日期选择器中选择日期时,只有第一行的日期选择器才会改变。
任何人都可以帮助我
Thnaks
kunjammu
添加了pre
标签。
[/编辑]
我认为这个解决方案可能对你有帮助....
< pre lang =HTML> < html lang = zh < span class =code-keyword>>
< head >
< meta charset = utf-8 >
< title > < / title >
< link rel = stylesheet href = // code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css\" >
< script src = //code.jquery.com/jquery-1.10.2.js\"> < / script >
< script src = // code.jquery.com/ui/1.10。 4 / jquery-ui.js > < / script >
< script >
hi,
i have a html table with a column date.in that i have textbox having class DATEPICKER i want to get the date picker in this column
when i used like
$(document).ready(function () {
$('.datepicker').datepicker();
});
i am getting date picker in each row in the table. but when i select date in any datepicker, only first rows datepicker only changes.
can anybody help me
Thnaks
kunjammu
[Edit member="Tadit"]
Added pre
tags.
[/Edit]
(document).ready(function () {
('.datepicker').datepicker(); });
i am getting date picker in each row in the table. but when i select date in any datepicker, only first rows datepicker only changes.
can anybody help me
Thnaks
kunjammu
[Edit member="Tadit"]
Addedpre
tags.
[/Edit]
I think this solution might helps you....
<html lang="en"> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <script>
这篇关于html表选择问题中的Datepicker如何...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!