Jquery Blueimp file upload add beforeadd event

I want to use Blueimp File upload plugin to upload single audio file but by setting

maxNumberOfFiles: 1 

still breaks my layout by allowing other files to show up.
This is how it's supposed to look like.

Jquery Blueimp file upload add beforeadd event

But I get this. Jquery Blueimp file upload add beforeadd event

I don't want the second file to show up.

Solution in mind
I believe I can solve this by adding an before_add event to the file upload so I can clear up the current selected file and add a new one. That means they'll never appear multiple files.

The problem
I don't know how to add an event and especially the one before add.

Replay

Category: jquery Time: 2016-07-31 Views: 2

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.142 (s). 12 q(s)