Ah... that makes sense. Thanks everyone for the help!
> -----Original Message----- > From: Greg Morphis [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 1:39 PM > To: CF-Talk > Subject: Re: (ot) javascript help > > because <br> isn't an element of <form>? > try removing the tabbedTicket or use getElementById > > On Wed, Jun 11, 2008 at 12:34 PM, Chad Gray <[EMAIL PROTECTED]> wrote: > > Can any javascript gurus tell me why this does not work? I want the > <br> tag to display on the page so I get a carriage return between the two > pieces of text "Foo" and "Moo". I get this error in Firbug: > > document.tabbedTicket.FTDTYPEe has no properties > > > > > > <script> > > function makeNewEntry() { > > document.tabbedTicket.FTDTYPEe.style.visibility = 'visible'; > > document.tabbedTicket.FTDTYPEe.style.display = ''; > > } > > </script> > > > > <form action="preferences.cfm" method="post" id="tabbedTicket" > name="tabbedTicket"> > > > > <input value="+" type="button" style="font-size:9px; > "onclick="makeNewEntry();" title="Add New FTD > > > > Type"><br /> > > Foo > > <br id="FTDTYPEe" style="visibility:hidden; display: none;" /> > > Moo > > </form> > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307265 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

