Two Laptop Bag*
The moose likes HTML, CSS and JavaScript and the fly likes datepicker problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "datepicker problem" Watch "datepicker problem" New topic
Author

datepicker problem

Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
I have a textbox and a calender Icon next to it.I need to pick up a date from Javascript and load it in that text box on date selection.Somehow the icon is not getting displayed... I picked up this from the Internet and Instead of calender icon,its showing the "pick a date" which is there in the 'alt '

This is the textfield:---





and the Javascript and its code is :-->








I have cal.gif in Images/cal.gif and JS/datetimepicker_css.js...


Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Do you actually have Images as the folder or images?

Eric
Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
Yes! I have Images and JS as the folders... what could be the problem?
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

post your directory structure. Something is not pointing where you think it is.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Is your server case sensitive? Most linux boxes are.

Eric
Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
How do attach an Image?? yes I am pretty sure that the Structure is correct and I have no idea about the server being case sensitive or not...
My server is Tomcat 6.0(WIn XP OS !) ..Anything else could be wrong in the code?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Download a tool such as Fiddler or Charles and see what the URL is and what the http status is for the image request.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: datepicker problem