hi friends
I have one doubt in a Java Script .
I created a table where 3 rows I have hidden by the attribute
<tr style="display:none">
These rows when a button is clicked are to be displayed.
For this I wrote a function where in I am calculating the no. of columns
after which the row is displayed.
But this seems to be very tedious because if I am changing some other
attribute such as making the column <b> or <u>, the calculation differs and
the display concept not fulfilled.
I read in a book regarding the id concept.
.idname{display:none}
Then this idname can be displayed.
My problem is these rows are in a loop in JSP program.
So the no. of rows will vary and hence on one idname cannot be used.
I came to know regarding the array.
i.e. idname[0].style.display
idname[1].style.display
But this is not working .
Can anyone help me out.............
---------------------------------------------------------------------------------------------------------
No one in this world has been honored for what they received.
They were honored for what they gave.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com