How to download a pdf link?
suppose we have a pdf url (like "http://images.apple.com/support/itunes_u/docs/iTunes_U_User_Guide.pdf") now i have to create a button on click of which it downloads that pdf.
i have tried window.open() method in javascript but it opens it in another window.
is there a way to download a pdf link using javascript or ajax.
a java code also is appreciated
prinshudj 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.