aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/jqLite/nosel.ngdoc
blob: 65df8f85d2ef8678a7cbf8fd73f50b1f0335be10 (plain)
1
2
3
4
5
6
7
8
9
10
11
@ngdoc error
@name jqLite:nosel
@fullName Unsupported Selector Lookup
@description

In order to keep Angular small, Angular implements only a subset of the selectors in {@link angular.element#description_angulars-jqlite jqLite}.
This error occurs when a jqLite instance is invoked with a selector other than this subset.

In order to resolve this error, rewrite your code to only use tag name selectors and manually traverse the DOM using the APIs provided by jqLite.

Alternatively, you can include a full version of jQuery, which Angular will automatically use and that will make all selectors available.