Solved

JavaScript click on File Browser

Posted on 2014-02-16
2
245 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
[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 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

752 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