tags:

views:

12

answers:

1

I have given the javascript code like this

self.location = OmanPath() 
              + "Customer/Registration/UploadedPhoto/SampleImages.zip";

But this is not working in IE6. What may be the reason

This code not working for zip file download. It is working in IE7 and IE8

A: 

Try replacing self with:

document.location.href
mikerobi
still not working
Pooja
@Pooja, what does OmanPath() evaluate to, did you make sure the path is correct.
mikerobi
It gives the path from the root
Pooja
path is correct and it is working in IE7
Pooja
@Pointy, Content-Type is application/zip
Pooja