Answer the question
In order to leave comments, you need to log in
Using JS in uikit, how to call?
Hey!
I'm studying uikit, I ran into a problem of not understanding the documentation on linking the styles framework with scripts.
Example.
<input id="name" class="uk-input uk-form-width-medium" type="text" placeholder="disabled" value="disabled" disabled>
Initialization
UIkit.formCustom(element, options);
UIkit.formCustom('#name', 'enable');
Answer the question
In order to leave comments, you need to log in
Well, in short $( "#name" ).prop( "disabled", false);
This is not a uikit of course but a solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question