Hi,
When i choose the option-value,
How can i change the selected-value in the form-select?
Can i make it in JS?
I am using the spring-version.
Regards,
Hi,
Please refer to this link to learn how to handle Form select control using JS.
Please note to access Metronic's core components or plugins you will need to run your code in page content loaded event once all dependacy js code is loaded in browser:
// On document ready
KTUtil.onDOMContentLoaded(function () {
document.getElementById("mySelect").value = "banana";
});