Click here to Skip to main content
15,887,596 members
Home / Discussions / Web Development
   

Web Development

 
QuestionDeveloping a new Site with FrontPage Pin
matjame22-Apr-07 23:03
matjame22-Apr-07 23:03 
AnswerRe: Developing a new Site with FrontPage Pin
Michael Hendrickx22-Apr-07 23:29
Michael Hendrickx22-Apr-07 23:29 
AnswerRe: Developing a new Site with FrontPage Pin
JimmyRopes27-Apr-07 19:10
professionalJimmyRopes27-Apr-07 19:10 
Questiondisplay data from database base on user input Pin
dheema22-Apr-07 22:58
dheema22-Apr-07 22:58 
QuestionReg web dialer Pin
NasimKaziS22-Apr-07 21:20
NasimKaziS22-Apr-07 21:20 
Questionjavascript to input masked date __/__/____ Pin
DineshSharmain22-Apr-07 20:49
DineshSharmain22-Apr-07 20:49 
AnswerRe: javascript to input masked date __/__/____ Pin
coolestCoder22-Apr-07 20:58
coolestCoder22-Apr-07 20:58 
Questionchanging a radio button programmatically Pin
JimmyRopes21-Apr-07 12:11
professionalJimmyRopes21-Apr-07 12:11 
Is there a way to change change the button that is checked in a radio button group programmatically?

I have a group of buttons that control the presentation of a web page. That is if a button is clicked a form expands to offer more options. Originally that part of the form is hidden and it is only visible if the yes button in a yes/no group is clicked. Originally the no button is checked by default.

I set a state variable for future reference and hide the buttons from view. Everything works fine transitioning from view to view unless the refersh browser control is pressed for a reset of the form.

On Opera original state of the form is visible, as it should be, and the no button is checked, as it should be. This is consistant with the original form the first time it is loaded.

On FF the yes radio button is clicked but the form is not expanded which is inconsistant. To make matters worse I need to first click the no button to get the yes button to respond again. Even though it is checked it is not active until the other button is clicked.

On IE both buttons are unchecked and the form is in original state. Not quite consistant with the original state of the page but at least a click on the yes button expands the form.

If I can re-check the no button before I hide the buttons things would work consistantly on FF and Opera.

If I could uncheck both buttons I could use that on the original page and at least things would be consistant on all three browsers.

My question is how do I click a radio button programatically in javascript? Or failing that how do I uncheck a checked button (the yes button) programmatically in javascript?

Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems

I'm on-line therefore I am.
JimmyRopes


AnswerRe: changing a radio button programmatically Pin
Fred_Smith22-Apr-07 0:29
Fred_Smith22-Apr-07 0:29 
GeneralRe: changing a radio button programmatically Pin
JimmyRopes22-Apr-07 2:24
professionalJimmyRopes22-Apr-07 2:24 
Questionemail probelm in php Pin
kumar bharat bhusanam21-Apr-07 5:51
kumar bharat bhusanam21-Apr-07 5:51 
AnswerRe: email probelm in php Pin
JimmyRopes21-Apr-07 12:22
professionalJimmyRopes21-Apr-07 12:22 
AnswerRe: email probelm in php Pin
Bradml22-Apr-07 3:04
Bradml22-Apr-07 3:04 
GeneralRe: email probelm in php Pin
kumar bharat bhusanam23-Apr-07 20:01
kumar bharat bhusanam23-Apr-07 20:01 
QuestionLayout Question Pin
john3421-Apr-07 2:51
john3421-Apr-07 2:51 
AnswerRe: Layout Question Pin
Yulianto.21-Apr-07 6:27
Yulianto.21-Apr-07 6:27 
AnswerRe: Layout Question Pin
Bradml22-Apr-07 3:05
Bradml22-Apr-07 3:05 
Questionhow to set focus to a ajax control Pin
Bhaskar Ravindranath20-Apr-07 20:09
Bhaskar Ravindranath20-Apr-07 20:09 
AnswerRe: how to set focus to a ajax control Pin
WoutL20-Apr-07 22:37
WoutL20-Apr-07 22:37 
GeneralRe: how to set focus to a ajax control Pin
Bhaskar Ravindranath20-Apr-07 22:51
Bhaskar Ravindranath20-Apr-07 22:51 
GeneralRe: how to set focus to a ajax control Pin
Christian Graus22-Apr-07 19:40
protectorChristian Graus22-Apr-07 19:40 
AnswerRe: how to set focus to a ajax control Pin
Bradml22-Apr-07 3:06
Bradml22-Apr-07 3:06 
GeneralRe: how to set focus to a ajax control Pin
Bhaskar Ravindranath22-Apr-07 19:06
Bhaskar Ravindranath22-Apr-07 19:06 
GeneralRe: how to set focus to a ajax control Pin
Christian Graus22-Apr-07 19:37
protectorChristian Graus22-Apr-07 19:37 
Questiontrying to design a dynamic website with visual studio Pin
cpltek20-Apr-07 10:38
cpltek20-Apr-07 10:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.