Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What Type Of Control To Use

Status
Not open for further replies.

SGLong

Programmer
Jun 6, 2000
405
US
I'm trying to determine how various web sites handle the Question / Answer type of presentation. I'm talking about where there is a list of Questions that look like a link control and when you click on it the answer appears between the clicked link and the next one in the list.

Sample code would be appreciated.

Steve
 
There are various ways to do this, and various controls. You can have a table that holds the quesions one row, and the corresponding answer in the row below. Have all of the answers hidden, and then show the proper row based on the question clicked. You can have it post back and user server side code, or use javascript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top