I have 10 fields each with it's own row in a table. Based on another
fields value within the same row for each, I would like to hide or show
the row.
Example: I have 10 rows with size and order qty data:
Row 1 thru 4 are taken with sizes large, X-Large, XX-Large and
XXX-Large.
Rows 5 thru 10 don't have size values populated, so I want to hide the
row. I know how to show and hide elements by id including TR's, but I
was wondering if there is an efficient way to use a loop for this vs.
using a big ass IF statement. Help/Examples appreciated. Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
fields value within the same row for each, I would like to hide or show
the row.
Example: I have 10 rows with size and order qty data:
Row 1 thru 4 are taken with sizes large, X-Large, XX-Large and
XXX-Large.
Rows 5 thru 10 don't have size values populated, so I want to hide the
row. I know how to show and hide elements by id including TR's, but I
was wondering if there is an efficient way to use a loop for this vs.
using a big ass IF statement. Help/Examples appreciated. Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment