Topic: MDB SELECT
Bruno Rotrou pro asked 6 years ago
Hello How to select dynamically a value in MDB SELECT ? there is doc where i can find JS methode for MDB components . thanks
Add comment
Bruno Rotrou pro answered 6 years ago
I have found !! set Select normaly with jquery $("#my-select").val("toto") and destroy MDB SELECT :
$('.mdb-select').material_select('destroy');
and init again :
$('.mdb-select').material_select();
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.9
- Device: ??
- Browser: CHROME
- OS: OSX
- Provided sample code: No
- Provided link: No