I am working with a activeX widget that has a method that produces an image which is saved to a users local machine. All the method requires is the path on the local machine. I need to obtain this path (hopefully utilizing a "save as" file dialog) and store its value to a variable so I can pass it to the method. It does work with an input type="file" but they are branded for file uploads an dit is a little misleading and confusing for the user. Any ideas?
example:
var path = $("#saveAsDialog").val();
activeXObj.saveScreenshot(path);
save file as dialogs do not exist within html/javascript if you have access to the activex control code you should be able to extend it with a method which shows a save as dialog and call that function to get your file location.
Bookmarks