Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7606279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:22:11+00:00 2026-05-31T00:22:11+00:00

I have around 100 items in a jQuery Mobile listivew. Is it possible to

  • 0

I have around 100 items in a jQuery Mobile listivew. Is it possible to focus on Nth element in a listview that is generated dynamically??

I know is possible in Android and iPhone but not sure how it is done in jQuery Mobile.

Thanks for your time in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:22:12+00:00Added an answer on May 31, 2026 at 12:22 am

    jQuery Mobile does support scrollTop so you could do something like this:

    $(document).scrollTop($(".ui-listview:eq(1) li:eq(21)").position().top);
    

    Or update your selectors to match the li you would like to scroll to.

    The code above works on the jqm list view example page. Try it! Go here: http://jquerymobile.com/test/docs/lists/lists-ul.html and enter the code above in your console. It should scroll down to the last item.

    UPDATE

    After looking up something else in the jqm documentation, I came across this:

    //scroll to Y 300px
    $.mobile.silentScroll(300);

    Found here: http://jquerymobile.com/test/docs/pages/page-scripting.html, under “Scrolling to a position within a page”. The trick with this is that it was designed to help preserve page position and back button behavior.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a ListView that contains around 80 to 100 items
I have around 100 rows of text that I want to tokenize, which are
We have a live MySQL database that is 99% INSERTs, around 100 per second.
I have an array that can hold up to several thousands of items.(usually around
I have around 100 entries in MySql table, that contain a specific word in
I have around 3500 flood control facilities that I would like to represent as
I have a jquery scorlling table which is populated dynamically. I am using Bob
I've just recently learned how jquery can access dynamically generated content, by placing a
I have a DOM element that I am storing the offset position of. For
I have a draggable container that was working with jquery 1.3.2. I recently upgraded

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.