TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SIVA
NA
742
707.5k
Problem with JQuery Datepicker
May 24 2012 6:42 AM
Hi All,
I have used JQuery Datepicker for my application.
Here is my code
<
link
rel
="stylesheet"
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/base/jquery-ui.css
"
type
="text/css"
media
="all"
/>
<
link
rel
="stylesheet"
href
="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css"
type
="text/css"
media
="all"
/>
<
script
src
="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
type
="text/javascript"></
script
>
<
script
src
="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"
type
="text/javascript"></
script
>
<
script
type
="text/javascript"
style.ui-widget
{
font-size
:
62.5%
}>
$(document).ready(function() {
$("#ctl00_ContentPlaceHolder1_txtPDOB").datepicker({
changeYear: true,
changeMonth:true,
dateFormat: 'dd/mm/yy',
minDate: new Date('01/01/1900'),
maxDate: '+1Y',
yearRange: '1900:' + Date().getFullYear
});
});
</
script
>
Here,
When i say submit button txtPDOB.text is showing empty & I am trying to convert the text which is in txtPDOB.text into Datetime. Bt the textbox showing empty & iam getting error there.
Can anybody tell me for what reason its not taking the text from textbox after selecting Date from JQuery datepicker
Reply
Answers (
3
)
New key word Use
Multichekbox in DateTime Picker