function selectText(){ if(document.selection){ //ie
return document.selection.createRange().text;
}
else{ //标准
return window.getSelection().toString();
} }
function selectText(){ if(document.selection){ //ie
return document.selection.createRange().text;
}
else{ //标准
return window.getSelection().toString();
} }