Javascript download-button problem

M

M.Babli

Hello everyone,

I do not know much about javascript, so please excuse me if my question is
not clear.:

If I build a string in Javascript
string =
"http://test_server_a.some_domain.org"+download_trial_of_product.exe
Then use
document.location.href=string


It works in Firefox, the popup box says,. would you like to download this
file... and the download is what its supposed to be. However, it does not
work well in IE. All I get is a nasty pop-up box talking about downloading
an Object. What am I doing wrong?

Any help would be appreciated
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,413
Latest member
KeiraLight

Latest Threads

Top