I am having loads of trouble with this problem.
I have a table you see, and it has a couple of cells. That look like this:
| Results: | Here would display the results |
| Question | Place to put answer |
| 5 similar | rows |
| blank cell | Submit button & reset |
Now to my problem... I wish to have the results row be invisible to the user when they first go onto the site. Then after the user presses submit, I would like the first row to appear, but not until they have pushed submit.
I have worked with java and I know there is a way to set objects visible until triggered. I just know nothing about asp...and am lost.
Thank you for any help you can provide.
*Edit: I have done a lot more research, and have come up with this.
Visibility Site
I have the hidden working on the row, but I can't get it to come back. I don't know how to make the submit button call on the function properly.
BrijPosted Aug 24, 2007, 10:48 PM
hi,
you can achieve it by using
using display tag u cann get row collapse behavior.
display=none will hide(collapse) the row
display=block will display the entire row.
-----------------------------------------
write a javascript to find this row using ID of this row and set the style of this row
THIS WILL SOLVE U'R PROBLEM
bye.....
JessPosted Aug 23, 2007, 9:33 AM
I asked how you do you set the first one collapsed and then by clicking a button making it appear. Here is an example of what I have so far.
The only problem is the header in my project is in a file all of it's own and the body is in another. When you click on the button it does a calculation and brings in the results, by calling on a third file. When the page brings in the results though, it refreshes the first page and makes the row hidden still in my example. I want it to collapse, but for some reason the code doesn't work for me when I set it to collapse.
Chandu VisualsoftPosted Aug 23, 2007, 2:51 AM