I want to place a button in an html form to download an XML file; however internet exploerer keeps trying to open it in IE instead of saving to disk. Any idea how to force it to save?
Cheers!
<form>
<input type="button" onclick="window.open('http://www.mysite.co.uk/results.xml')" value="download" name="downloadResults">
Cheers!
<form>
<input type="button" onclick="window.open('http://www.mysite.co.uk/results.xml')" value="download" name="downloadResults">