Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3787754
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:53:27+00:00 2026-05-19T11:53:27+00:00

When I navigate to the file below (datepicker.jsp) the datepicker is displayed and works

  • 0

When I navigate to the file below (datepicker.jsp) the datepicker is displayed and works as expected.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
@import "./jquery.datepick.package-4.0.4/jquery.datepick.css";
</style>
<script type="text/javascript" src="./jquery.datepick.package-4.0.4/jquery-1.4.4.js"></script>
<script type="text/javascript" src="./jquery.datepick.package-4.0.4/jquery.datepick.js"></script>
<script type="text/javascript">
$(function() {
    $('#datepicker').datepick();
});

function showDate(date) {
    alert('The date chosen is ' + date);
}
</script>

<title>jQuery Datepicker</title>
</head>
<body>
 <p>A popup datepicker <input type="text" id="datepicker"></p>


</body>
</html>

However when I embed the page in a tab like so –

<s:div id="three" label="Add" href="/Dates/datepicker.jsp">
</s:div>

The date picker popup is not displayed.

Do I need to reference the div within the function call to -$(‘#datepicker’).datepick(); ?

Thanks for any help.

Ok,

Here is the link to the tab –

<div dojoType="struts:BindDiv" id="two" label="Add" href="/Dates/DatePicker.jsp" showError="true" parseContent="true">
</div>

And here is DatePicker.jsp –

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
@import "./jquery.datepick.package-4.0.4/jquery.datepick.css";
</style>
<script type="text/javascript" src="./jquery.datepick.package-4.0.4/jquery-1.4.4.js"></script>
<script type="text/javascript" src="./jquery.datepick.package-4.0.4/jquery.datepick.js"></script>
<script type="text/javascript">
$(function() {
    $('#datepicker').datepick();
});

function showDate(date) {
    alert('The date chosen is ' + date);
}
</script>

<title>jQuery Datepicker</title>
</head>

<body>
 <p>A popup datepicker <input type="text" id="datepicker"></p>


</body>
</html>

Thanks again

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:53:27+00:00Added an answer on May 19, 2026 at 11:53 am

    I’ve changed to using google jquery plugin and seems to be working well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know how to navigate to a file or a class, but can I
A-->B B+--->A+ Is there anyway to navigate to a second .XAML file and returning
I have a simple controller specified below, @Controller @RequestMapping(/add/*) public class RequestMappingController { @Autowired
http://frontend.iwssites.com/intellichoice/home.html I am trying to add functionality to the main slider on this page.
I'm trying to get a local HTML file to display within a WebBrowser in
I have an html file which containn images.These images are kept at location same
I need to navigate to a file relative to my applicationDirectory, but as it
How to Navigate to another page when click on arrow in the pushpin layout?
When I try to navigate in NetBeans to some JDK source code it only
Backbone.js provides a navigate(fragment, [options]) method for its Backbone.router objects, which does the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.