Click here to Skip to main content
15,907,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have the Links will A B C D TO Z When I click on the Alphabit A i need to get the Links starting with A and so on.
Posted
Comments
#realJSOP 9-Dec-10 5:56am    
As poorly as your question is phrased, and with so little detail, all I can do is wish you luck with solving your problem.
Slacker007 9-Dec-10 6:21am    
rajesh5913: as John mentioned above, you really need to redo your original question. I don't know at all what you are asking help for. Thanks.
[no name] 9-Dec-10 6:27am    
I -think- he is trying to tell us that he has a list of links and also buttons labeled A - Z and wants to know how to proceed to show only the correct links starting with the letter of the button when a button is clicked.

1 solution

Don't you just mean you want some kind of index and jump within the page to the corresponding list, something like this:
HTML
<html>
<body>
<p>Index</p>
<a href='#a'>Go to A</a>
<a href='#b'>Go to B</a>
<a href='#c'>Go to C</a>

<p id = 'a'>Links starting with A</p>
<a href="">adam</a>
<a href="">apple</a>
<a href="">average</a>
...
<p id = 'b'>Links starting with B</p>
...
<p id = 'c'>Links starting with C</p>
...
<p id = '...'>etc...</p>
</body>
</html>


Good luck!
 
Share this answer
 
Comments
fjdiewornncalwe 9-Dec-10 7:26am    
I'll five that. A simple solution for a beginner's question. Nice call.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900