javascript部分: Html部分相当不错。但我从警报消息中获取输出但无法将数据加载到combobox ..
function count_array()
{
var str = document.getElementById("InputText").value;
for (var i = 0; i <= str.length; i++)
{
if (str[i] == str[i].toUpperCase())
{
letter = str[i];
alert("Array:" + "{" + letter + " -" + str.indexOf(str[i]) + "}");
}
}
}