rem: function getText(id) 
add: DWRUtil.getText = function(id) 
context: function getText(id){    var ele = document.getElementById(id);    if (ele == null)    {        alert("Element id: "+id+" not found.");        throw id;    }    if (!isHTMLSelectElement(ele))    {        alert("getText() can only be used with select elements. Attempt to use: " + detailedTypeOf(ele));        throw ele;    }    // This is a bit of a scam because it assumes single select    // but I'm not sure how we should treat multi-select.    var sel = ele.selectedIndex;    if (sel != -1)    {        return ele.options[sel].text;    }    else    {        return "";    }}
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1c2e43c84790bfe925e41713280232cd61fc9288/util.js/clean/java/uk/ltd/getahead/dwr/util.js