Solved

How Do You Select a File Using the JQuery File Selector with Browse Dialogue?

Posted on 2013-12-26
2
2,687 Views
Last Modified: 2013-12-27
How do you select a file using the JQuery File selector with file Browser Dialogue?  I need to select a JQuery file and need the file path and file name from the selector once the file is selected.

Dan
0
Comment
Question by:danielolorenz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Assisted Solution

by:Detlef001
Detlef001 earned 250 total points
ID: 39740662
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 250 total points
ID: 39741741
you can open the dialog box, but you cannot programmatically select a file from a users hard drive, that would be a major security breach. Once the user has selected a file, you would manipulate the data with the "input:file" syntax:

var path = $( "input:file" ).val();
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question