View Single Post
  #1 (permalink)  
Old Mar 28th, 2007, 17:23
Love2Java Love2Java is offline
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Question Show and Hide Text - how do I do that?

Is there a simple way, through the use of the onclick event, to show and hide text? I don't want to use a <div> unless completely necessary.
Basically I have a form, and it contains username and password text fields, depending on which <radio> button is hit, the username/password fields will be disabled (already coded that part) and I also want the red * next to these fields to disappear, so the user further realizes that the username/password fields don't need to be filled in.

Is there a quick way to do this with the onclick() event in javascript?

I know, I know...I really need to learn javascript already
Reply With Quote