function setSelectedIndex(s, v) { for (var i = 0; i < s.options.length; i++) { if (s.options[i].text == v) { s.options[i].selected = true; return; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)