I am not sure if this problem belongs to JS domain or not, but I am posting it here because IMO this forum is the closest match. (Forgive me in case I am wrong )
I have a situation where in I have to give users option to download a screen (a success screen containing a transaction number). User may download in following formats : RTF, PDF, HTML.
Is there any way to perform this task using js. I dont think I can use window.print() here, becuase user wont be downloading then.
If js cant be used then how should I proceed to have this task completed?