I have a searchable dropdown and i want to select the option value which i am passing using this query:
$(#id).val('optiontext').attr('selected',true),
but every time it is typing in search text box inside dropdown, but ineed to select that option value.