 var _window = dojo.global(); var _document = dojo.doc(); element = dojo.byId(element); if(_document["selection"] && dojo.body()["createTextRange"]){ var range = element.createTextRange(); range.moveStart("character", 0); range.moveEnd("character", element.value.length); range.select(); }else if(_window["getSelection"]){ var selection = _window.getSelection();  element.setSelectionRange(0, element.value.length); } element.focus(); 
 var _window = dojo.global(); var _document = dojo.doc(); element = dojo.byId(element); if(_document["selection"] && dojo.body()["createTextRange"]){ var range = element.createTextRange(); range.moveStart("character", 0); range.moveEnd("character", element.value.length); range.select(); }else if(_window["getSelection"]){ var selection = _window.getSelection();  element.setSelectionRange(0, element.value.length); } element.focus(); 
dojo.html.selectInputText = function(/*DomNode*/element){	// summary: select all the text in an input element	var _window = dojo.global();	var _document = dojo.doc();	element = dojo.byId(element);	if(_document["selection"] && dojo.body()["createTextRange"]){ // IE		var range = element.createTextRange();		range.moveStart("character", 0);		range.moveEnd("character", element.value.length);		range.select();	}else if(_window["getSelection"]){		var selection = _window.getSelection();		// FIXME: does this work on Safari?		element.setSelectionRange(0, element.value.length);	}	element.focus();}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js