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 7668617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:24:27+00:00 2026-05-31T15:24:27+00:00

I am working on a web page which has a file uploader. After I

  • 0

I am working on a web page which has a file uploader. After I click the button ‘Discard changes’, I want the contents of the file uploader to be purged. I was thinking to do this by refreshing the fileuploader using jQuery.

How can this be done in jQuery please? Thanks 🙂

Edit

The file uploader I am using makes use of a jQuery library so that it can upload several photos at once. As a result, changing its value to “” does not work in this case.

That’s why I’d like to reload it all together using jQuery.

This is the plugin I am using:

http://www.dotnetcurry.com/ShowArticle.aspx?ID=317

  • 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-31T15:24:29+00:00Added an answer on May 31, 2026 at 3:24 pm

    Give the File input an id or a class, let’s say this id is “img” and then use

    $('input#img').val("");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I working on a web page which has a similar structure like this: <div
I'm working on Asp.net MVC3 web application. I'm having one page on which appx.
I'm working on an MVC3 Razor web application which gets it's page decoration from
I'm working on a web page that saves in user information on a button
I am working on a web page that has a large number of tables.
I'm working on a PHP dynamic web page that has a <textarea> element that
I'm working on a web-app, in which each user has multiple non-local XML files
I'm working on application which has workflow like this: 1.parsing home page (using HttpURLConnection,
I am working on a web page that pulls an external javascript file that
I have a JSF/Seam web app which has a page with a form which,

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.