{"json_modified": "2015-05-21T00:52:21.414601", "slug": "Web/API/Document/getSelection", "tags": ["m\u00e9todo", "Refer\u00eancia", "Selecci\u00f3n", "metodo", "Referencia"], "locale": "es", "title": "Document.getSelection()", "translations": [{"title": "Document.getSelection()", "url": "/en-US/docs/Web/API/Document/getSelection", "tags": ["API", "DOM", "Reference", "R\u00e9f\u00e9rence", "Document", "Selection", "Method"], "summary": "This method functions identically to the Window.getSelection()
method; it returns a Selection
object representing the text currently selected in the document.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-21T17:40:51", "review_tags": []}, {"title": "document.getSelection", "url": "/ja/docs/Web/API/Document/getSelection", "tags": ["Document", "Selection", "Reference", "DOM", "R\u00e9f\u00e9rence"], "summary": "DOM \u306e getSelection()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001 Window
\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u53ca\u3073 Document
\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002
\n \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f window.getSelection()
\u306e\u9801\u3092\u53c2\u7167\u3057\u3066\u4e0b\u3055\u3044\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-18T04:09:02", "review_tags": []}, {"title": "document.getSelection", "url": "/zh-CN/docs/Web/API/Document/getSelection", "tags": [], "summary": "", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-01-22T05:40:04", "review_tags": []}, {"title": "document.getSelection", "url": "/fr/docs/Web/API/Document/getSelection", "tags": [], "summary": "La m\u00e9thode DOM getSelection()
\u00a0est accessible \u00e0 partir des interfaces Window
et Document
.
\n Pour plus de d\u00e9tails, consultez window.getSelection()
.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2014-12-15T06:07:39", "review_tags": []}], "modified": "2015-05-21T00:52:19", "label": "Document.getSelection()", "localization_tags": ["inprogress"], "url": "/es/docs/Web/API/Document/getSelection", "last_edit": "2015-05-21T00:52:15", "summary": "Este m\u00e9todo funciona exactamente igual que Window.getSelection()
; devuelve un objeto Selection
que representa el texto que se ha seleccionado en el documento.", "sections": [{"id": "Quick_Links", "title": "Document Propriedades Document.activeElement Document.alinkColor Document.anchors Document.applets Document.async Document.bgColor Document.body Document.characterSet ParentNode.childElementCount ParentNode.children Document.compatMode Document.contentType Document.currentScript Document.defaultView Document.designMode Document.dir Document.doctype Document.documentElement Document.documentURI Document.documentURIObject Document.domain Document.domConfig Document.embeds Document.fgColor ParentNode.firstElementChild Document.forms Document.head Document.height Document.images Document.implementation Document.inputEncoding ParentNode.lastElementChild Document.lastModified Document.lastStyleSheetSet Document.linkColor Document.links Document.location Document.mozFullScreen Document.mozFullScreenElement Document.mozFullScreenEnabled Document.mozSyntheticDocument GlobalEventHandlers.onabort Document.onafterscriptexecute Document.onbeforescriptexecute GlobalEventHandlers.onblur GlobalEventHandlers.onchange GlobalEventHandlers.onclick GlobalEventHandlers.onclose GlobalEventHandlers.oncontextmenu GlobalEventHandlers.ondblclick GlobalEventHandlers.onerror GlobalEventHandlers.onfocus GlobalEventHandlers.oninput GlobalEventHandlers.onkeydown GlobalEventHandlers.onkeypress GlobalEventHandlers.onkeyup GlobalEventHandlers.onload GlobalEventHandlers.onmousedown GlobalEventHandlers.onmousemove GlobalEventHandlers.onmouseout GlobalEventHandlers.onmouseover GlobalEventHandlers.onmouseup Document.onoffline Document.ononline GlobalEventHandlers.onreset GlobalEventHandlers.onresize GlobalEventHandlers.onscroll GlobalEventHandlers.onselect GlobalEventHandlers.onsubmit Document.origin Document.plugins Document.pointerLockElement Document.popupNode Document.preferredStyleSheetSet Document.readyState Document.referrer Document.scripts Document.scrollingElement Document.selectedStyleSheetSet Document.styleSheets Document.styleSheetSets Document.title Document.tooltipNode Document.URL Document.vlinkColor Document.width Document.xmlEncoding Document.xmlVersion M\u00e9todos Document.adoptNode() Document.caretPositionFromPoint() caretRangeFromPoint Document.clear() Document.close() Document.createAttribute() Document.createCDATASection() Document.createComment() Document.createDocumentFragment() Document.createElement() Document.createElementNS() Document.createEntityReference() Document.createEvent() Document.createExpression() Document.createNodeIterator() Document.createNSResolver() Document.createProcessingInstruction() Document.createRange() Document.createTextNode() Document.createTouch() Document.createTouchList() Document.createTreeWalker() Document.elementFromPoint() Document.enableStyleSheetsForSet() Document.evaluate() Document.execCommand() Document.exitPointerLock() Document.getBoxObjectFor() Document.getElementById() Document.getElementsByClassName() Document.getElementsByName() Document.getElementsByTagName() Document.getElementsByTagNameNS() Document.getSelection() Document.hasFocus() Document.importNode() Document.loadOverlay() Document.mozCancelFullScreen() Document.mozSetImageElement() Document.open() Document.queryCommandSupported() Document.querySelector() Document.querySelectorAll() Document.registerElement() Document.releaseCapture() Document.write() Document.writeln() Inheritance: Node EventTarget Related pages for DOM Attr ByteString CDATASection CharacterData ChildNode Comment CustomEvent DOMConfiguration DOMError DOMErrorHandler DOMException DOMImplementation DOMImplementationList DOMImplementationRegistry DOMImplementationSource DOMLocator DOMObject DOMParser DOMPoint DOMRect DOMString DOMTimeStamp DOMTokenList DOMUserData DocumentFragment DocumentType Element ElementTraversal Entity EntityReference Event EventTarget HTMLCollection MutationObserver Node NodeFilter NodeIterator NodeList NonDocumentTypeChildNode ProcessingInstruction PromiseResolver Range Selection Text TextDecoder TextEncoder TimeRanges TreeWalker TypeInfo USVString UserDataHandler XMLDocument"}], "id": 151217, "review_tags": ["technical"]}