Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 753931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:57:15+00:00 2026-05-14T14:57:15+00:00

When someone click on Browse for the input file below: <input type=file name=blah />

  • 0

When someone click on Browse for the input file below:

<input type="file" name="blah" />

A dialog box will appear. The user will then select a file and click ‘Ok’. The dialog box will close. Is there an event fire because of that? I tried onfocus and onblur, it didnt work out.

The only way I can think of is to start a timer to check the value content when it is onfocus. Not that elegant. Any solution?

Cheers,
Mickey

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:57:15+00:00Added an answer on May 14, 2026 at 2:57 pm

    I think you can try to listen for an “onchange” event on your element.

    The only drawback with this is if the user selects the same file using “browse” twice, it wont fire as the contents didnt change but I dont know if that is a requirement in your case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my search form: <form action= method=get name=search> <input name=s type=text size=40 value=<?php
I'm building an app using someone else's API allowing the user to browse content
Can someone tell me how to install this? I go here: http://api.jquery.com/browser/ and click
i wants to set focus on the parent div when someone click on the
Can someone explain how the Silverlight 4 OOB upgrades happen? Is it click one?
I found this on Google, click here , which someone asked a similar question,
Can someone explain to me why this happens? I have a file called profile.php
I am wondering if its possible to have someone click on a link in
http://leaverou.github.com/animatable/ On this page, click a block and see the black box that appears.
The following is a theoretical question, that I hope someone will be able to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.