Results 1 to 3 of 3

Thread: Disabling Text on Radio Click [resolved]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Resolved Disabling Text on Radio Click [resolved]

    I have several radio buttons on my site with the following tags.
    HTML Code:
    <INPUT TYPE="radio" NAME="index_Radio" VALUE="Radio A" SELECTED>
    <INPUT TYPE="radio" NAME="index_Radio" VALUE="Radio B">
    <INPUT TYPE="radio" NAME="index_Radio" VALUE="Radio C">
    Then I have and input field with the following tag.
    HTML Code:
    <div id="first_name">
    First Name:&nbsp; 
    </div>
    <INPUT TYPE="text" NAME="first_name" SIZE="20" MAXLENGTH="10" ONCHANGE="this.value = this.value.toUpperCase()">
    What do i need to do to have the First Name label and the text box disabled when I click on Radio A. And have it enabled when i click on B or C. Keep in mind that when the page loads A is selected already. So it needs to load disabled.

    Thanks for you help
    Last edited by mrstuff68; Jan 4th, 2006 at 10:48 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width