Topic: Modal form ajax loaded input fields init form display
                  
                  morgan_chester
                  premium
                  asked 7 years ago
                
                      
                      lede
                      premium
                        answered 7 years ago
                    
$('#location').val(event.location);
if(event.location != '') { $('label[for="location"]').addClass('active'); }
                    
                      
                      
                      ionyx
                      pro
                        answered 7 years ago
                    
Piotr Glejzer staff commented 7 years ago
HI ionyx, thank you for that answer. Have a nice day! Best, Piotr
                      
                      Piotr Glejzer
                      staff
                        answered 7 years ago
                    
morgan_chester premium commented 7 years ago
no, I mean how to initialize an input view if an input is created on-the-fly or loaded from ajax? It hasn't a nice material label and other material styles like those displayed on the page loadPiotr Glejzer staff commented 7 years ago
Can you show me an example of what did you try to do or what do you expect or what is not working? It will help a lot.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
 - Premium support: Yes
 - Technology: MDB jQuery
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No