I want to create an FAQ page like the one on this website
http://www.microsoft.com/windows/windows-7/faq.aspx
When you click on the question, the answer expands. Click it again and it collapses.
My question, answers are stored in a database. I googled and found out there’s this JavaScript code to achieve this BUT also came across something that said it can be done using Repeater Controls.
How to do that? Any link to some tutorial would be great.
You can do it with jQuery. Suppose you have a page name
Faq.aspx.So put this code into your .aspx page.
In the body tag you have to put this code.
I really hope this will work for you.