Re: invisible table columns



my.shabby.sheep@xxxxxxxxx said the following on 8/30/2007 4:01 PM:
On Aug 30, 3:49 pm, Joe Attardi <jatta...@xxxxxxxxx> wrote:
my.shabby.sh...@xxxxxxxxx wrote:
I want to do the following. I want to make a table column invisible
to the screen, but I still want to be able to get the innertext that
would have been stored in the cell for certain operations. What would
be the best way to do this.
I currently added an invisible attribute to the column tag. Please
help
This is more of a CSS solution than JavaScript, but you could set the
style to "display: none". That would hide the column from the screen but
it would still exist in the DOM.
Thats not a bad idea but I not to familiar with style sheets.

comp.infosystems.www.authoring.stylesheets

For the Usenet impaired:
<URL: http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets/topics?hl=en&lr=&ie=UTF-8>

Since in a table of 5 columns only one would be invisible how would I do
that. Here is the code for the jsp page.

Don't post your server side JSP code, post the resulting HTML/Script/CSS generated by the JSP code.

</script>

I hope that isn't the first line of code your JSP produces.

<style type="text/css">

I thought you weren't familiar with styles?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
.


Quantcast