how can i change the unselected item to selected item in dropdown list without using iterator function?
Thanks in Advance
how can i change the unselected item to selected item in dropdown list without using iterator function?
Thanks in Advance
Two notes before the answer.
Here is the jQuery "not" selector in action.
$("select option:not(:selected)").attr("selected", "true");