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 6350671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:51:25+00:00 2026-05-24T21:51:25+00:00

I use ListView with link like this: <ul data-dividertheme=d data-theme=c data-role=listview style=width:100%;margin: 0px >

  • 0

I use ListView with link like this:

<ul data-dividertheme="d" data-theme="c" data-role="listview" style="width:100%;margin: 0px" >
   <li><a href="javascript:LoadPrimaryContent('#divTopicsPrimary','#pageNewTopic')">新主题</a></li>
   <li data-role="divider"></li>
   <li><a href="javascript:GotoThreadList('invited')">我参与的主题</a></li>
   <li><a href="javascript:GotoThreadList('mine')">我的主题</a></li>
   <li><a href="javascript:GotoThreadList('replied')">我的回复</a></li>
</ul>

There is a strange behavior, when I click the first link once, the item appears selected, and could not click anymore. But the second and the third does not have that issue.

What I want to know is how to control the item that selected to follow the script I wrote.

Thanks.

  • 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-24T21:51:25+00:00Added an answer on May 24, 2026 at 9:51 pm

    Maybe try something like this instead:

    <li><a href="javascript:void(0)" onclick="LoadPrimaryContent('#divTopicsPrimary','#pageNewTopic')">新建主题</a></li>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how to use Pager(GridView or ListView) with html link. is that right that this
i want to use the listview flicker"less" control found here Link directly in my
I want some of the goodies in a ListView, like being able to use
<!DOCTYPE html> <html> <head> <meta name=viewport content=width=device-width, initial-scale=1> <link rel=stylesheet href=http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css /> <script src=http://code.jquery.com/jquery-1.6.4.min.js></script>
I use ListView in asp.net. I get data from provider table. According providerId image
I am trying to link the checkbox and listview together, and then use the
I use a ListView to display (funnily enough) a list of data, including a
I use an ArrayAdapter to show items in a ListView. Every row in this
I'm gonna set an alternate color to my ListView rows. I saw this link
What is the best way to use ListView and a set of GroupBoxes as

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.