You can hide table rows like this:

<table>
<tr id="aRow">
<td>Hello</td><td>Hello Again!</td>
</tr>
</table>

<script type="text/javascript">
document.getElementById("aRow").style.visibility = "hidden";
</script>

If you want to hide a group of rows:

<table>
<tbody id="bunchOfRows">
<tr>
<td>Hello</td><td>Hello Again!</td>
</tr>
<tr>
<td>Hello</td><td>Hello Again!</td>
</tr>
<tr>
<td>Hello</td><td>Hello Again!</td>
</tr>
</tbody>
</table>

<script type="text/javascript">
document.getElementById("bunchOfRows").style.visibility = "hidden";
</script>

----- Original Message -----
From: Tony Weeg <[EMAIL PROTECTED]>
Date: Tuesday, July 30, 2002 1:43 pm
Subject: RE: Javascript/CF Tag to fill fields

> but you cant hide/unhide table rows with that.
> only elements inside table cells/rows or elements
> outside of tables. actual table rows for some reason
> are not hideable?
> 
> ..tony
> 
> Tony Weeg
> Senior Web Developer
> Information System Design
> Navtrak, Inc.
> Fleet Management Solutions
> www.navtrak.net
> 410.548.2337 
> 
> -----Original Message-----
> From: Bruce, Rodney S HQISEC/SIGNAL
> [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, July 30, 2002 3:35 PM
> To: CF-Talk
> Subject: RE: Javascript/CF Tag to fill fields
> 
> 
> you could use DHTML for that
> have a <DIV> that is hidden and when you run the JS script to fill the
> fields then just make it visisble
> 
> document.all.divname.style.visibility = "visible";
> 
> -----Original Message-----
> From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 30, 2002 12:25 PM
> To: CF-Talk
> Subject: RE: Javascript/CF Tag to fill fields
> 
> 
> Well, actually we got that figured out but have the million dollar
> question for us...
> 
> We have 4 items, first is a select box, when an item is selected it
> fills the other three text input boxes via Javascript.
> 
> Now, once all four are filled out, wow would it be great for a new 
> emptyrow to display....with select box, et al, an exact duplicate. 
> Not sure
> how to do this?
> 
> Regards,
> 
> Eric J Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
> Delivering Creative Data Solutions 
> 
> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, July 30, 2002 2:09 PM
> To: CF-Talk
> Subject: RE: Javascript/CF Tag to fill fields
> 
> 
> a bit more clarification, may return better answers.....
> 
> tony
> 
> Tony Weeg
> Senior Web Developer
> Information System Design
> Navtrak, Inc.
> Fleet Management Solutions
> www.navtrak.net
> 410.548.2337 
> 
> -----Original Message-----
> From: Eric Hoffman [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, July 30, 2002 2:46 PM
> To: CF-Talk
> Subject: Javascript/CF Tag to fill fields
> 
> 
> We have a drop down, and would like it to fill in row with that
> recordset's info.  Is there a custom tag to do such before I 
> switch into
> the wooly world of javascript.  (the first field is drop down, 
> next 4
> fields to be filled need to be text input fields)
> 
> Thanks for any quick pointers...not finding it at DevEx.
> 
> Regards,
> 
> Eric J Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
> Delivering Creative Data Solutions 
> 
> 
> 
> 
> 
> 
> 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to