Results 1 to 3 of 3

Thread: [resolved] Change value of radio button by clicking on select?

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2004
    Posts
    121

    [resolved] Change value of radio button by clicking on select?

    Hello all.
    How would I select a specific radio button in an array by selecting an option within a select?
    Code:
    <input type="radio" name="avatar" value="gallery_avatar">
    <input type="radio" name="avatar" value="upload_avatar">
    
    <select name="gallery">
    <option value="Bender.jpg">Bender</option>
    <option value="Homer.jpg">Homer</option>
    </select>
    <!--
    What I mean is when a user selects one of the options above, I would like to check the first radio button.
    -->

    Any help is appreciated.
    Last edited by solitario; May 27th, 2005 at 02:53 PM.

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