Results 1 to 2 of 2

Thread: Radio Buttons

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    40

    Radio Buttons

    I have a question. I have 2 radio buttons and my goals is that if I click on radio1 then the dropdown boxes will be disabled. Can any one help me with that?

    Thanks in advance

  2. #2
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Re: Radio Buttons

    Hi,,

    This is a script to enable and dusable, just maipulate this and youre away

    VB Code:
    1. <script type="text/javascript">
    2. function disable_enable(){
    3. if (document.all || document.getElementByid){
    4. document.formname.elementname.disabled=!document.formname.elementname.disabled
    5. }
    6. }
    7. </script>

    hope this helps

    Kai
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


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