13 lines
1.3 KiB
HTML
Executable file
13 lines
1.3 KiB
HTML
Executable file
<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/jqLite/nosel.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">Unsupported Selector Lookup</code>
|
|
<div><span class="hint">error in component <code ng:non-bindable="">jqLite</code>
|
|
</span>
|
|
</div>
|
|
</h1>
|
|
<div><pre class="minerr-errmsg" error-display="Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element">Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element</pre>
|
|
<h2 id="Description">Description</h2>
|
|
<div class="description"><div class="jqlite-page jqlite-nosel-page"><p>In order to keep Angular small, Angular implements only a subset of the selectors in <a href="api/angular.element#angularsjqlite"><code>jqLite</code></a>.
|
|
This error occurs when a jqLite instance is invoked with a selector other than this subset.</p>
|
|
<p>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.</p>
|
|
<p>Alternatively, you can include a full version of jQuery, which Angular will automatically use and that will make all selectors available.</p>
|
|
</div></div>
|
|
</div>
|