Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:eq ,:gt, :lt cannot work #1355

Closed
gclinux opened this issue Oct 24, 2019 · 2 comments · Fixed by #1565
Closed

:eq ,:gt, :lt cannot work #1355

gclinux opened this issue Oct 24, 2019 · 2 comments · Fixed by #1565

Comments

@gclinux
Copy link

gclinux commented Oct 24, 2019

html:

<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>

js:

$('li:eq(1)').html() //not work
$(li).eq(1).html() // work

the selector missing

@newsfusion
Copy link

It's not supported like other selectors (i.e. ':first'). See #408

@hengkx
Copy link

hengkx commented Feb 24, 2020

+1

fb55 added a commit that referenced this issue Dec 15, 2020
Adds support for jQuery positional selectors (:eq, :first, :not(:last) etc.).

Fixes #1355
Fixes #129
fb55 added a commit that referenced this issue Dec 20, 2020
Adds support for jQuery positional selectors (:eq, :first, :not(:last) etc.).

Fixes #1355
Fixes #129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants