or display='none'; But think about a radio button for a second. typically, they come in mulitples. are you hiding ALL of them, or just the one? And how are you displaying the VALUE next to the radio button? a label, just text next to it? Do you need to hide that as well? If so, wrap the needed on/off elements in a div, and turn that div on/off.
On Fri, Jun 27, 2008 at 1:11 PM, Duane <[EMAIL PROTECTED]> wrote: > Try ......style.visiblity = "hidden"; > > -----Original Message----- > From: Erika L. Walker [mailto:[EMAIL PROTECTED] > Sent: Friday, June 27, 2008 2:07 PM > To: CF-Community > Subject: JavaScript help ... > > I want to hide a radio button based on the value of a url variable ... > > the following works brilliantly to check off my radio button ... > > if (delineateRight(urlString) == 4){ > document.EntryForm_1.CLASSIFIED[1].checked=true; > } > > inside there I want to hide the button ... > > I found something like this: > > document.EntryForm_1.CLASSIFIED[0].style("display")="hide"; > > but it doesnt work ... is there another way? > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:262998 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
