[SOLVED] Get value of smart select

<option value="{{key}}">{{name}}</option>

I am wondering: What is the best way to get the value of a smart select in the close event? I want to have the value in {{key}}, not the value provided by {{name}}.

hi,
are you using a framework?
if not;

https://jsfiddle.net/mnahara/o2ejupu1/693/

2 Likes

Awesome, thank you very much! :+1:

Also check here [SOLVED] Smart select multiple

1 Like