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
Description
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.