diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js b/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js index 9ca158c8..71c9d73c 100644 --- a/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js +++ b/framework/Web/Javascripts/source/prado/activecontrols/activecontrols3.js @@ -154,11 +154,11 @@ Prado.WebUI.TJuiAutoComplete = jQuery.klass(Prado.WebUI.TActiveTextBox, if(that.options.textCssClass===undefined) { jQuery.each(result, function(idx, item) { - result[idx]['value']=jQuery.trim(item['label']); + result[idx]['value']=jQuery.trim(jQuery(item['label']).text()); }); } else { jQuery.each(result, function(idx, item) { - result[idx]['value']=jQuery.trim(jQuery(item['label']).find('.'+that.options.textCssClass).html()); + result[idx]['value']=jQuery.trim(jQuery(item['label']).find('.'+that.options.textCssClass).text()); }); } |