简体   繁体   中英

dynamic navigation list menu

I am working on a small application and I basically need a list of 5 items say

Name Address City Country Zipcode

Whenever the user clicks on anyone of these he needs to be directed to another page and that particular item needs to be highlighted.

I want to do this dynamically. I have an idea that it can be done with javascript [document.getelementbyid()] but dont know exactly how.

are you trying to do something like this:

http://jqueryui.com/demos/tabs/

take a look at the AJAX example to get content from other pages

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM