Jump to content

Chrome shows file, IE10 shows dialog box


Recommended Posts

In Chrome, and IE8, when this link is selected:


<a href="../upload/[blk1.thumbnail]"><form action="../upload/[blk1.thumbnail]"><input type="image" src="../images/MI.png"></form></a>


the file appears successfully.


In IE10 and IE9, instead of the file appearing successfully, a dialog box appears asking "Do you want to open or save (the file name) from www...com? OPEN SAVE CANCEL


In FF it says "You have chosen to open (the file name) which is application/ocet-stream from www...com OPEN SAVE CANCEL


What can I add (or change) so that the file appears, upon selecting the link, in IE10, IE9 and FF? instead of a dialog box appearing?

Link to comment
Share on other sites

Why in the world are you wrapping a form in a <a>?  That is certainly not how it works.  Are you trying to display an image when you click?  You haven't really given us a clear understanding of what you are trying to do and what kind of file it's supposed to serve.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.