isSameNode()" HREF="function.dom-domnode-issamenode.html">PHP ManualPrevNextDOMNode->insertBefore() (...">
DOMNode->insertBefore()

DOMNode->insertBefore()

(no version information, might be only in CVS)

DOMNode->insertBefore() --  Adds a new child before a reference node

Description

class DOMNode {

DOMNode insertBefore ( DOMNode newnode [, DOMNode refnode] )

}

This function inserts a new node right before the reference node. If you plan to do further modifications on the appended child you must use the returned node.

Parameters

newnode

The new node.

refnode

The reference node. If not supplied, newnode is appended to the children.

Return Values

The inserted node.

Exceptions

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if this node is readonly or if the previous parent of the node being inserted is readonly.

DOM_HIERARCHY_REQUEST_ERR

Raised if this node is of a type that does not allow children of the type of the newnode node, or if the node to append is one of this node's ancestors or this node itself.

DOM_WRONG_DOCUMENT_ERR

Raised if newnode was created from a different document than the one that created this node.

DOM_NOT_FOUND

Raised if refnode is not a child of this node.



Links
StartLogic $5.95/mo
  • 200GB Diskspace
  • 2000GB Bandwidth
  • Host 10 Domains
  • CGI PHP MySQL
  • eCommerce Enabled
  • 30 Day Money Back Guarantee

Apollo Hosting $6.96/mo
  • 3GB Diskspace
  • 100GB Bandwidth
  • Live 24/7 Support
  • SpamAssassin
  • Urchin Web Analytics

HostMonster $5.95/mo
  • 200GB Diskspace
  • 2000GB Bandwidth
  • Host Unlimited Domains
  • SSH Access
  • SSL FTP Stats
  • CGI Ruby Perl PHP MySQL
  • Free Domain

Hosting Companies


Partners


Quick Search
Platform

Price

Diskspace

Bandwidth


 Advance Search
 Show All Companies


Reference & Manual

If you are looking for dedicated servers, look no further. HostPulse.com is a site devoted to help web users find cheap web hosting and dedicated servers.


Free Sitemap Generator Host Login/Register | Contact Us | Terms | Add Links
Thumbnails by Thumbshots.org © 2002-2008 CheapHostDir.com