Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

jqLite does not allow to select a button #13107

Closed
@KamBha

Description

@KamBha

For some reason, in jqLite this fails:-

angular.element('button').css('display', 'none');

Now, I can't see anything in the documentation that would indicate why angular.element('button') doesn't work.

but angular.element('div') would work.

Here is an example:-

http://plnkr.co/edit/kSAcIbmhiigCL157WQpl?p=preview

Can we either clarify why angular.element doesn't work here in the documentation or update jqLite to allow for selecting the button tag.

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