Function
Get the selection type (like dojo.doc.select.type in IE).
String
Function
Return the text (no html tags) included in the current selection or null if no text is selected
String
Function
Return the html text of the current selection or null if unavailable
String
Function
Retrieves the selected element (if any), just in the case that a single element (object like and image or a table) is selected.
Function
Get the parent element of the current selection
Function
String The tag name to determine if it has an ancestor of.
Check whether current selection has a parent element which is of type tagName (or one of the other specified tagName)
Boolean
Function
String The tag name to determine if it has an ancestor of.
Return the parent element of the current selection which is of type tagName (or one of the other specified tagName)
DOMNode
Function
The node to inspect.
An array of tag name strings to check to see if the node matches.
Function to determine if a node is one of an array of tags.
String
Function
The node to inspect.
An array of tag name strings to check to see if the node matches.
Function to locate a parent node that matches one of a set of tags
DOMNode
Function
Boolean to indicate whether to collapse the cursor to the beginning of the selection or end.
Function to collapse (clear), the current selection
Function
Function to delete the currently selected content from the document.
Selection
Function
DOMNode The element you wish to select the children content of.
Boolean to indicate if the foxus should change or not.
clear previous selection and select the content of the node (excluding the node itself)
Function
DOMNode The element to select.
Boolean indicating if the focus should be changed. IE only.
clear previous selection and select element (including all its children)
Function
This function determines if 'node' is in the current selection.
boolean
Object
Object
Object