Value Of Input Field Js

Hi, everyone

Im new to this forum.

I try to create an input field that have value which is select options. on other test site i tested on it working but when i try on cs cart it does not work. will there be somethings i missed for this.

The values for option 'BB' and 'CC' always switch to the value of option 'AA'. thanks

AA BB CC

Do you see any errors in the developer console of your browser? How did you add this code?

Sorry, it my mistake that i tested on an add-on page where I want to add this to.

it working for smarty html.

it should be the add-on that does not support this function.

will there be some code to add to the add-on , if you could help out , thank you.