Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7041243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:00:56+00:00 2026-05-28T02:00:56+00:00

Currently It just opens up the xml, but i want to get a dialog

  • 0

Currently It just opens up the xml, but i want to get a dialog box to ask the client whether to save/open. I am using jquery

$('#btnDownloadConfig').click(function(event){
    var location="/csm"+path;
    window.open(location);
/*it opens up a new window having url "http://incsm:8181/csm/files/12345/csmclient.xml*/
});

My path on Server

E:\Tomcat 6\webapps\csm\files\12345

the above path contains csmclient.xml file, how can i make a dialog box appear asking to save/open for this file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:00:57+00:00Added an answer on May 28, 2026 at 2:00 am

    This isn’t possible. If you want the browser to prompt the user to download a file that it would usually render then you must send a Content-Disposition header (marking the file as an attachment) from the server. There is nothing you can do client side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Eclipse Ganymede to create a web application, but the project's currently just
I'm using Intelligencia url rewriting currently but have just leased an IIS 7.5 server
I'm trying to animate the height of a dataview, but it's currently just sliding
I just found out about superfish and currently using it on an asp.net. The
i want to develop a pretty basic client-server program. one software reads xml (or
I built a template-based document generator using the Open XML SDK (1.0) , the
I'm currently just starting my first Lua program and I have a .csv file
When reading our configuration and resource files, our .Net system currently just does ConfigurationManager.AppSettings[keyToFind]
Currently I just have a file like this that I manually parse into a
I have an sql statement that currently is just returning all the end parent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.