radio-button

jquery ui buttonset shift down in IE 8

Hi All, I have this scipt <script> $(document).ready( function() { $('.add').button({ icons: 'ui-icon-plus', text: false }).next().button({ icons: 'ui-icon-minus', text: false }).next().button({ icons: 'ui-icon-arrowthick-1-w', text: false }).next().button({ icons:...

Selecting an html radio button dynamically through javascript does not work in IE

Hi, I want to select a radio button from javascript. I am using this simple html file to test the issue. The code below works correctly on firefox and chrome, however it does not work in IE (no version works). I would like to know why the supplied code does not work on IE, and how to select a radio button in IE? <html> <head> <scri...

Radio button in datagrid for selecting the entire row

Hi, I have a Datagrid in Flex. I need to add a radio button in first column such that when I select that radio button, entire row should get selected. I have tried using following code - <mx:DataGridColumn id="selectColumnRadioButton" sortable="false" textAlign="center" editable="false" width="18"> <mx:itemRen...

Dynamically checking the value of a radio button (refactoring question)

I wrote this jsfiddle based largely on the example found here. The example is over 2 years old so I was wondering if there is an easier way to check the value of a radio button than gobs of if, elseif, else statements. My values are going to be disabled, both, footer, header so with only four not too bad. I'm just trying to learn how to...

Selecting selectbox with javascript

Hello, I have a question about selecting selectboxes with Javascript. I have upload the files on http://www.mikevierwind.nl/javascript/risicoinventarisatie.htm Here you see a table with a lot of questions and radiobuttons. Every question have 2 radiobuttons, yes and no. When you go to the first question. "Diabetes" Than you choose for...

Checking a radio button in JQuery

I need to problematically (do you mean programmatically?) check a radio button given its value. The form has an id and the input type obviously has a name (but no id). The only code I managed to get working so far is: $('input[name=my_name]:eq(1)').attr('checked', 'checked'); But I'd like to be able to check it by explicitly providi...

Java Panel font changing radio buttons question

I am having trouble with this assignment because my of my actionlisteners. Right now the panel has 2 checkboxes to change the font into bold and or italic. I want to add 4 radio buttons that can change what font the "saying" is in. Can anyone tell me what I'm doing wrong with my actionlisteners? Thank you! import javax.swing.*; impor...

Dynamically generate multiple RadioButtonList and capture their values

I have a situation where I need to generate multiple sets of radio buttons. These radio buttons display One to Many relationship data. I know how to get it to work with a workaround that I used back in Classic ASP days ... in which I essentially just spit out the HTML dynamically and keep track of my controls using systematic IDs. Which...

How to create Browse File Button functionality in Android

Hi guys, I have a RadioButton that is when clicked, it will bring to a popup window. Currently, I am planning to make the popup window to contain a browse Button with TextEdit left of it. What it does is, when a user click on browse Button, a window explorer (something like that) will appear and let the user to traverse the phone's pri...

drupal form api for radio button help needed

hi, i have to show a custom form like below either upload image or paste a url for the image O Radio button to set for image upload -------Input field for image upload OR O Radio button to set image url --------- input field to get that url im struggling with custom form code whether to use #type=>radio or #type=>radi...

JSF complex cascading radio buttons

I need to port an application from PHP to JSF 2. Everything is fine except for a rather complex radio button group: When 'Process Application for:' is selected, the child radio button group is enabled. Within that, when 'Other' is selected, the corresponding text box is enabled. When 'Brands' is selected, those two text boxes are en...

Horizontally and vertically exclusive radio button

Hi folks Been using this site for ages and have never had to go as far as to ask my own question... cheers in advance. I have a group of "questions" which are to be listed. The user then has to rank these questions as 1st, 2nd, and 3rd (there can be many more than three questions however). The problem I have is that, if I make the ra...

RadioGroup with radiobuttons inside a relative android layout

I want to create a simple layout like the following: (o) Radio button A (o) Radio button B [textedit] [x] checkbox For that I've created the following layout.xml: <RadioGroup android:layout_above="@+id/RadioButton_Count" android:id="@+id/RadioGroup01" android:layout_height="wrap_content" android:layout_width="...

Edit individual radio buttons in zend form view script

I have a zend form which is using a view script. I want to get access to the individual radio button items but I'm not sure how to do so. Right now, I just print them all out using: echo $this->element->getElement('myRadio'); That prints them all out vertically. I need a little more control. I need to be able to print the first 5 opti...

How to dynamically add radiobuttons, texboxes, and buttons in a Table by code?

Hi Everyone, I am trying to dynamically create a table with radiobuttons, textboxes and buttons on each rows uniquely depending on the question to the left of the TableRow with two TableCells. So far, I was able to add the questions to the left of the TableRow. Now, I am having a hard time filling out the right side of it. Can someone...

How do I make a CheckBox look like a RadioButton

I wanna use a CheckBox but I want it to have the RadioButton chrome. What's the easiest way to do this? ...

Radio button checked property.

How can I know if the radio button checked property is true in PHP, can anyone give me an example? Thanks.. ...

help in vizard (buttons)

Hi, I am developing a GUI in Vizard in witch i am using radio buttons to select correct options, but i have a problem that i cannot solve. In every group of radio buttons the 1st button is appears always select, but actually is not selected, the only way of selecting it is by choosing other button and then choose again the 1st button. ...

One selectable RadioButton inside DataList

Hi, I am trying to implement multiple choice questions within my web application. I have datalist within a datalist. First datalist contains questions, second datalist contains choice, only one choice should be selectable at a time. I am using radio button. Even though I have set RadioButton.GroupName property, I can't make them selecta...

Facing a Problem in ASP.NET Project (Online Test) while selecting the options(Radiobutton).

I am Developing a online test(Multiple choice) in C# asp.net. I have to show only one Question per page. I am using radiobuttons to select one of the options. When i click the next button, options respective to the next Question bind to the radiobuttons. The origin of Problem: I select a radiobutton for one Question and the same radio...