Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Linking drop menu with a radio button
Old 08-11-2006, 02:12 AM Linking drop menu with a radio button
Junior Talker

Posts: 1
Trades: 0
Hey,

I want to be able to have multiple feilds, ones a default and two others with drop down menu's. and to choose which field is the choosen one I want to use radio buttons....I've done this...easy part....now the hard part....I want to be able to click one of the fields and when give that field the attention I want the radio next to the field to be selected, so that the user just interacts with the fields not the radio buttons but can if they want..

Any help would be really appreciated...

P.S. I've spent hours trying to get anything to help on google, I guess its one of those topics that is hard to find.

I want javascript to do this, I was thinking maybe some function that runs one the onClick and has the ability to change the value of a radio button, but i dont know what code to use to change the buttons value.

Last edited by dakine; 08-11-2006 at 02:13 AM..
dakine is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-12-2006, 09:07 AM Re: Linking drop menu with a radio button
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
document.forms[0].radios[x].checked = true; // or false
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 08-12-2006 at 09:07 AM.. Reason: typing error
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Linking drop menu with a radio button
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15598 seconds with 12 queries