Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
lusabo
Datepicker does not work
in
Using jQuery UI
•
10 years ago
Hi all,
I have a table where I add rows dinamicaly (by ajax), and in this rows I have input with class .datafield, after load the table, I do this:
$(". datafield ").datepicker();
But, it did not work, the calendar does not appear.
Thanks,
Luciano
1
Replies(2)
rdworth
Re: Datepicker does not work
10 years ago
If you've typed your code correctly you've got an extra space that would cause an issue. Change
$(". datafield ").datepicker();
to
$(".datafield ").datepicker();
Leave a comment on rdworth's reply
lusabo
Re: Datepicker does not work
10 years ago
Hi Richard,
The problem
is that the field
was
added dynamically
, I used the
live ()
.
$(".campoData").live("click", function(){
$(this).datepicker().mask("99/99/9999").change(function(){validaData(this);}).focus();
});
Leave a comment on lusabo's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to lusabo's question
Top
Reply
{"z2655461":[14737000002986153],"z7170888":[14737000002988014,14737000002989053]}
Statistics
2
Replies
1614
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
[jQuery] Passing JSON object o date...
DatePicker does not work when loade...
Datepicker theme does not work
jQueryUI Datepicker animations does...
jQuery datepicker does not work whe...