473,378 Members | 1,500 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

How to open file browser without clicking browse button in Firefox?

i want to open the file browser with out clicking the browse button of the input type file in mozilla firefox.
this should be done by using the javascript functions and if possible the event handlers.
please help to find out the solution
Dec 18 '10 #1
3 2891
acoder
16,027 Expert Mod 8TB
Think about it if that were possible.

Someone could code a page to gather any sensitive/private files and secretly post them to a server. The input file restrictions are there for a reason.

Note that Firefox 3 opens the dialog when you click on the text box too.

Why do you want to do this?
Dec 21 '10 #2
this facility is available in the Internet Explorer.
And in my project the code is written so but works only in IE, and now i need to run it in Firefox. so i need to open the dialog without clicking on the browse button or on the text box as well. i need to click on another button placed outside. by which it will work in firefox also and the project will be browser independent. please help me if you can..

thank you very much for replying
Dec 21 '10 #3
acoder
16,027 Expert Mod 8TB
Are you talking about the click() method? That isn't supported in Firefox.

Are you trying to "style" the input file element?
Dec 21 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: garbagecatcher | last post by:
Hello, here's my problem: On my web server I generate a file, I need to send this file to a different web server. I have no control over the other web server. The only way they accept...
1
by: John Pastrovick | last post by:
Is there a way to load an image locally (in the client) when a selection of a file is made using input type=file. The purpose is to allow selection of a file and put the image in the browser...
3
by: RWK | last post by:
I'm trying to figure out how to verify that the file trying to be uploaded exists. On my page if I type in the name of a file that doesn't exist it get's uploaded as a file with 0 bytes. When...
3
by: Maris Janis Vasilevskis | last post by:
Hi, I create a binary file on client side using ActiveX. Now, I need to upload it. First idea - hidden Input type=file Does not work, because value is read only. A quickly made working...
2
by: ssriram | last post by:
Is there a way to apply style to form field input type="file" (file upload component) If so, how? Thanks, Sunitha Sriram -- ssriram
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
12
by: menmysql | last post by:
hi i want to dispaly an image on my webpage which is selected using <input type="file">. is it possible. please reply urgent ...
9
by: Roger Withnell | last post by:
I am building a website in Russian. What options do I have to make the "Browse" button display in other languages? Thanking you in anticipation. Posted Via Usenet.com Premium Usenet...
6
by: Gorksha | last post by:
How to upload a file without using browse button provided by <input type=file > tag in html..
6
by: andersond | last post by:
I need to allow users to upload files that support an online application. I am using input type=file to gather the path on the user's computers. How can I upload the file they specify after I have...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.