![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
梅花扣肉
!!!!!!!
展开
-
用JavaScript获取选中的文字
function getSelectText() { return document.selection && document.selection.createRange().text || window.getSelection && window.getSelection() || document.getSelection && document.getSelection() || ''转载 2013-07-25 01:23:44 · 535 阅读 · 0 评论 -
javascript “||”、“&&”的灵活运用
http://my249645546.iteye.com/blog/1553202转载 2014-04-11 14:55:15 · 464 阅读 · 0 评论