467,915 Members | 1,110 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

A FAQ on my web page

I would like to create a FAQ feature for my web page that populates
from a table in the sql server. My table would have a column for a
question and one for answer. On the web page I would like to only show
the questions listed and when the user clicks the question javascript
would expand the answer below it. Then if they click the question the
answer disappears again.

How do I do the javascript part and fill it with the data from the
server?

Nov 19 '05 #1
  • viewed: 1025
Share:
3 Replies
Antonio wrote:
I would like to create a FAQ feature for my web page that populates
from a table in the sql server. My table would have a column for a
question and one for answer. On the web page I would like to only show
the questions listed and when the user clicks the question javascript
would expand the answer below it. Then if they click the question the
answer disappears again.

How do I do the javascript part and fill it with the data from the
server?


just use a SPAN or DIV. Passing in the text is easy, bury an <asp:Label
into it, but the rest is clientside javascript, I'd suggest hitting a
javascript group....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #2
First read the asp.net quickstarts.

Dont expect people to make everything for you here. People doesnt post
complete solutions only suggestions.

"Antonio" <bl*****@yahoo.com> escribió en el mensaje
news:11**********************@g14g2000cwa.googlegr oups.com...
I would like to create a FAQ feature for my web page that populates
from a table in the sql server. My table would have a column for a
question and one for answer. On the web page I would like to only show
the questions listed and when the user clicks the question javascript
would expand the answer below it. Then if they click the question the
answer disappears again.

How do I do the javascript part and fill it with the data from the
server?

Nov 19 '05 #3
I would like to create a FAQ feature for my web page that populates
from a table in the sql server. My table would have a column for a
question and one for answer. On the web page I would like to only show
the questions listed and when the user clicks the question javascript
would expand the answer below it. Then if they click the question the
answer disappears again.

How do I do the javascript part and fill it with the data from the
server?

"Antonio" <bl*****@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I would like to create a FAQ feature for my web page that populates
from a table in the sql server. My table would have a column for a
question and one for answer. On the web page I would like to only show
the questions listed and when the user clicks the question javascript
would expand the answer below it. Then if they click the question the
answer disappears again.

How do I do the javascript part and fill it with the data from the
server?


__________________________________________________ _____________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><>

Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Nathan | last post: by
2 posts views Thread by James | last post: by
4 posts views Thread by Kevin Phifer | last post: by
2 posts views Thread by John Lau | last post: by
6 posts views Thread by MooreSmnith | last post: by
1 post views Thread by Lenard Gunda | last post: by
8 posts views Thread by Ed Jay | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.