Skip to content

Cant append a docElement, only a raw element. #49

@ericdallo

Description

@ericdallo

The only way to append a child doc element to a parent doc element, is to call the first() method.

var parent = doc('#parent');
var child = doc('#child');

// Error
parent.append(child);

// The only current possible way
parent.append(child.first());

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions