The JS
I use fills the div class .ajax-file-upload-container
is filled with another div
<div class="ajax-file-upload-statusbar" style="display: none; width: 420px;">
and while it is still selected with the file element it will continue to accumulate like this
<div class="ajax-file-upload-container">
<div class="ajax-file-upload-statusbar" style="display: none; width: 420px;">contenido ultimo</div>
<div class="ajax-file-upload-statusbar" style="display: none; width: 420px;">contenido2</div>
<div class="ajax-file-upload-statusbar" style="display: none; width: 420px;">contenido 1</div>
</div>
I tried not to accumulate to only get the div only the last one, I thought to use. html
but the theme is that I tried but I do not know what line to play
Any ideas?
The goal is to obtain this result
<div class="ajax-file-upload-container">
<div class="ajax-file-upload-statusbar" style="display: none; width: 420px;">contenido ultimo</div>
</div>
This is the js
jquery.uploadfile.min.js
Here, download it link