Link to home
Start Free TrialLog in
Avatar of maqskywalker

asked on

absolute path to image in jquery code

I'm using the jQuery UI DatePicker in my web forms application.

In my application directory folder which is called Application1 I have a folder called images where I put all my image files.

So the direct path through the web browser would be something like this:

In my jquery code I'm setting the path like this:

buttonImage: "images/CalendarIcon.jpg"

this works fine in my development server but for some reason when I deploy it to production the image doesn't show up.

This also worked fine.
buttonImage: ""

anyone know why this path is not working on production iis7 server             buttonImage: "images/CalendarIcon.jpg"

anyone know how to write absolute path to this image?
Avatar of Prakash Samariya
Prakash Samariya
Flag of India image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial