javascript - Prompting for download -


whats best method prompt user download something? in past i've used window.open('file.pdf'); can see popup blockers having problem this. of course i'll include manual link aswel.

i want microsoft download page. whats script prompts this?

redirect using javascript.

function redirect() { window.location = 'http://www.url.to/your.file'; } 

Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

xslt - Umbraco and EXSLT sets do not work -