Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

datepicker problem

 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you actually have Images as the folder or images?

Eric
 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes! I have Images and JS as the folders... what could be the problem?
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post your directory structure. Something is not pointing where you think it is.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your server case sensitive? Most linux boxes are.

Eric
 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic