mirror of
https://github.com/jasny/bootstrap.git
synced 2026-01-22 12:48:10 -05:00
Reset fileupload on form reset. Fixed #31
Allow resetting and clearing fileupload using js
This commit is contained in:
@@ -2022,6 +2022,10 @@ $('.carousel').carousel({
|
||||
<h3>Methods</h3>
|
||||
<h4>.fileupload(options)</h4>
|
||||
<p>Initializes a file upload widget.</p>
|
||||
<h4>.fileupload('clear')</h4>
|
||||
<p>Clear the selected file.</p>
|
||||
<h4>.fileupload('reset')</h4>
|
||||
<p>Reset the form element to the original value.</p>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user