Solved

JavaScript click on File Browser

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
Suggested Courses

636 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