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
Mark Tabor
588
2k
456.8k
Uncaught TypeError: $(...).dynDateTime i
Aug 12 2016 3:00 AM
<script type="text/javascript">
$(document).ready(function () {
$("#<%=TextBox2.ClientID %>").dynDateTime({
showsTime: true,
ifFormat: "%Y/%m/%d %H:%M",
daFormat: "%l;%M %p, %e %m, %Y",
align: "BR",
electric: false,
singleClick: false,
displayArea: ".siblings('.dtcDisplayArea')",
button: ".next()"
});
});
</script>
<script type="text/javascript">
$(document).ready(function () {
$("#<%=TextBox3.ClientID %>").dynDateTime({
showsTime: true,
ifFormat: "%Y/%m/%d %H:%M",
daFormat: "%l;%M %p, %e %m, %Y",
align: "BR",
electric: false,
singleClick: false,
displayArea: ".siblings('.dtcDisplayArea')",
button: ".next()"
});
});
</script>
<script type="text/javascript">
function testing() {
var startDate = document.getElementById('<%= TextBox2.ClientID %>').value;
var endDate = document.getElementById('<%= TextBox3.ClientID %>').value;
if ((Date.parse(endDate) <= Date.parse(startDate))) {
alert("End date should be greater than Start date");
document.getElementById('<%= TextBox3.ClientID %>').value = "";
}
}
</script>
This code locally runs well but on live it gives that error
Add New CP.aspx:402 Uncaught TypeError: $(...).dynDateTime is not a function
Reply
Answers (
2
)
Want to develop Ad Blocker in .net
How i get address based on ip address usin asp.net?