Solved

JavaScript click on File Browser

Posted on 2014-02-16
2
240 Views
Last Modified: 2014-02-19
I'm trying to use javascript to click a FILE html input and I'm having issues getting it to trigger.

http://screencast.com/t/BMTOpuNkwCsX

Followup image
http://screencast.com/t/5k1V0hxj
0
Comment
Question by:yewnix
2 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 39864182
That is for security reasons. You will have a very hard time scripting the file input for obvious reasons
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39865971
*no points*

Just as an example to what mplungjan mentions, think about the implications of what could happen if such functionality were available, and I wrote some Javascript that would upload any file named "passwords*" from a user's machine.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

803 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