Hope you all are doing good !!!
Well, I am newbie to this java script coding. I need to implement file download functionality through java script in my xhtml page.
Below is the script written:
alert("about to download...");
I am able to see alert message before opening new window. But after that I see in java script error in my browser (IE). error is "Access is denied".
But I clearly see there is no restrictions on my excel page.
Can any one help me any other way to download a file through java script if I am wrong in above?
Also when we say the file name, does it append to end of url ? I guess it should be like that... Any help is appreciated...