Skip to content

context.getElementById can fail #49

@drobert

Description

@drobert

Coming from a jquery background, I would expect this to work:
var container = x$('#container');
var containee = container.find('#containee');
Instead, you end up with context.getElementById is not a function

A quick fix would be to check to see if context has a getElementById function and if not, force a call from document instead of context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions