I have a select tag. ON keydown of that dropdown i’m setting some selecting some value from options as
$(this).find("option[value='11']").attr('selected', 'selected')
but it is showing 12 in dropdown, while inspecting dropdown shows option 11 as selected as
<option value="11" selected="selected">11</option>
any idea to solve this issue??
you just missed ].
i didn’t understand what you need actually?
if you add some description we can help you..