File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -460,35 +460,30 @@ The plugin supports these methods:
460
460
461
461
#### disable
462
462
Disable the file input.
463
-
464
463
``` js
465
464
$ (' #input-id' ).fileinput (' disable' );
466
465
```
467
466
468
467
#### enable
469
468
Enable the file input.
470
-
471
469
``` js
472
470
$ (' #input-id' ).fileinput (' enable' );
473
471
```
474
472
475
473
#### reset
476
474
Reset the file input.
477
-
478
475
``` js
479
476
$ (' #input-id' ).fileinput (' reset' );
480
477
```
481
478
482
479
#### clear
483
480
Clear the file input.
484
-
485
481
``` js
486
482
$ (' #input-id' ).fileinput (' clear' );
487
483
```
488
484
489
485
#### refresh
490
486
Refreshes the file input plugin based on options provided. You can supply an array of plugin options as a parameter.
491
-
492
487
``` js
493
488
// example 1 (disable at runtime)
494
489
$ (' #input-id' ).attr (' disabled' , ' disabled' );
You can’t perform that action at this time.
0 commit comments