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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:54:44+00:00 2026-06-10T01:54:44+00:00

Starting by some nice tutorials I tried to: 1) use jQuery (and in particular

  • 0

Starting by some nice tutorials I tried to:
1) use jQuery (and in particular the AjaxUpload library) to upload an image file from an input file button.
2) use s CSS trick to replace the default HTML5 input file button to a more nice custom button.
3) use HTML5 filters for allowing “only specific image” file upload.

The point is that the AjaxUpload library seems to be broken when I use the modified input file button (i.e nothing happens).

For instance, this JSFiddle is a test with the default input file. If you try to upload a file, the loading gif say you that the file is currently in upload.
This one is the same with the modified input file. No loading gif is started.

Also the HTML5 file filtering seems to be broken on my Chrome browser, but it is a minor issue.

Any idea?

  • 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-06-10T01:54:45+00:00Added an answer on June 10, 2026 at 1:54 am

    This may be because of some inner logic of AjaxUpload or security restriction of the browser. Try it with this CSS (height is 30px instead of 0%):

        .file-wrapper input {
             cursor: pointer;
             font-size: 100px;
             width:100%; height:30px;
             filter: alpha(opacity=1);
             -moz-opacity: 0.01;
             opacity: 0.01;
             position: absolute;
             right: 0;
             top: 0;
         }
    

    Also, about accept. It must be like this (works for sure in Chrome):

    accept="image/jpg,image/jpeg,image/png,image/gif,image/bmp,image/tiff"
    

    And looks like it won’t work with AjaxUpload. I’ve tried it in JSFiddle, but in result I see no accept attribute. Possibly it is removed by plugin for some reason

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

Sidebar

Related Questions

I am starting to use some Java code which was written by someone else.
I'm starting to migrate some html generation tasks from a server-side framework to the
I'm starting some automated acceptance testing for our company, and have decided to use
Just starting off on iPhone development and I'm looking for some input as to
I'm starting some work on a rather large JS project and want to make
I'm soon going to be starting some iPhone Development (3.0) building a simple app
I starting off a project and starting build some of its structure. I am
I'm starting work on some simulations using MPI and want to do the programming
I'm starting out with some XML that looks like this (simplified): <?xml version=1.0 encoding=UTF-8?>
I am starting to write some code for A/B testing in a Grails web

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.