ZVON > References > DOM2 Reference

setEnd (method )

Owning interface and usage:  
Range.setEnd(refNode, offset)

Member of these other interfaces:  
none

Description:  
Sets the attributes describing the end of a Range.

Parameters:  
Node refNode  -  The refNode value. This parameter must be different from null.
long offset  -  The endOffset value.

Returns:  
nothing

Exceptions:  
RangeException INVALID_NODE_TYPE_ERR
Raised if refNode or an ancestor of refNode is an Entity, Notation, or DocumentType node.
DOMException INDEX_SIZE_ERR
Raised if offset is negative or greater than the number of child units in refNode. Child units are [16-bit units] if refNode is a type of CharacterData node (e.g., a Text or Comment node) or a ProcessingInstruction node. Child units are Nodes in all other cases.
DOMException INVALID_STATE_ERR
Raised if detach() has already been invoked on this object.
DOMException WRONG_DOCUMENT_ERR
Raised if refNode was created from a different document than the one that created this range.



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
Domain Names VoIP Internettelefonie DSL, SDSL, ADSL UNLIMITED Web Hosting by HostDepartment conference call service
answering service