radio-button

AJAX Radio Buttons with jQuery

I need help to get submission of an RSVP with radio buttons like this: Attending: <input type="radio" /> Maybe Attending: <input type="radio" /> Not Attending: <input type="radio" /> Whenever someone RSVP the event, it should ratio the input to the selected (so just one radio button can only be selected), so when one option is selecte...

Radio button and having a text box validation ruby on rail

Hi, This is currently the setup I have: <input id="demographics_questionary_gender_male" name="demographics_questionary[gender]" type="radio" value="Male"> Male <input id="demographics_questionary_gender_gender" name="demographics_questionary[gender]" type="radio" value="Female"> Female <input id="demographics_questionary_gender_male" ...

Adding custom attributes to asp.NET RadioButton control

I want to add a custom attribute to an asp.net RadioButton called Key which I'm using client-side for an ajax request. What I'm finding is that my aspx markup which is the following: <asp:RadioButton ID="rdoPost" GroupName=PreferredContactMethod" value="Post" onclick="DoStuff(this)" runat="server" /> gets rendered in the page as <sp...

Validating a radio button is checked with jQuery

On my form I havea set of radio buttons. Here's the mark up: <div class="optionHolder"> <p class="optionName">Format</p> <div class="option checked"> <input type="radio" name="fileType" value="avi" /> <img src="images/avi.png" alt="" /> <label>AVI</label> </div> <div class="option"> <input...

How do I use WWW::Mechanize to check a radio box?

I am writing a Perl script to test certain parts of my webpage as I make changes to it. Using the WWW::Mechanize class, how can I select a radio box and submit a form? ...

Automatically select a radiobutton when selecting an item from a drop down list

I have a grouped list of 4 radiobuttons. 2 of them are simply radiobuttons with labels, however, two of them are radiobuttons with drop downs. Is it possible to have the corresponding radiobutton selected if I select an item from one of the drop downs? For example, the following will allow the user to click on the label to select a rad...

How to select a Radio Button?

I am using mechanize and I am trying to select a button from a radio button list. This list has 5 items. How can I select the first item? Docs didn't help me. >>> br.form <ClientForm.HTMLForm instance at 0x9ac0d4c> >>> print(br.form) <form1 POST http://www.example.com application/x-www-form-urlencoded <HiddenControl(DD=17010200) (readon...

Dynamically databinding radiobuttons to an arraycollection in Flex

I have an arrayCollection with strings in them, is there some way I can databind a RadioButtonGroup to the array collection? As we can do for combo boxes var cBox:ComboBox = new ComboBox(); cBox.dataProvider = arrayCollection; There is no RadioButtonGroup.dataprovider property. I know this has to be done manually, what is the most eff...

Question with check boxes and radio buttons use with a regular button (.net 2.0 and below only please)

So i have this idea of having multiple programs launched through my application ran with different settings. but i don't always want all of them ran all at once, and not necessarily one at a time. What my idea is that on the left side it would have say 3 check boxes, we'll call them c1,c2, and c3 which are applications. on the right side...

ASP.NET Radiobutton list set to autopostback but not posting back if selected item changes

I have radiobuttonlist that i have set to autopostback, but when a user clicks a button, there is no postback. Any suggestions? ...

HTML radiobutton color change.

I think this is a pretty simple thing to do, but I don't know how.. thus I'm here. I have written a simple HTML form and need to change the color of the text on a Radio Button. Anyone have any ideas on how this is done? ...

Android SDK: Multiple text fields from App saved to external file

Hello all, I may be going over my head but I am trying to make a couple of apps for my own work usage as a photographer that will save me time and negate the need for paper. I need some help! But first, what I have at my disposal: Eclipse for RCP and RAP Developers, Helios Service Release 1 Android SDK (Latest with all APIs downloaded...

jQuery Access Dynamically Created Radio Buttons

I have 3 radio buttons on my page. They are loaded by calling a jQuery function which returns the html ex: <script type="text/javascript"><!-- onSelectChange(4); --> which call this function: function onSelectChange(parm){ $.post("func.php", {function_name : "song"}, function(data){ $("#list...

Flex3: Component Declarations are Not Allowed Here error

Hi, I'm getting the "Component declarations are not allowed here error" where I've got my RadioButtonGroup. Below is the custom component. Why can't I put a RadioButtonGroup in it? <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"&gt; <mx:Script> <![CDATA[ import mx.controls.Radi...

Radio button accept just first selection on mobile website for iPhone

I developed a mobile website to be accessable by mobile devices, mainly iPhone and Android devices. And, to select the type of search to perform, I created 4 radio buttons. But, on iPhone when the user makes the first choice and try to choose another type of search, the radio button clicked just don't get selected! It's looks like a bug ...

JQuery: how to check a radio button?

So if this qstring var is set then i need to check a certain radio button ive tried the following : $("#AcctRB").attr('checked', 'checked'); $('input[id=AcctRB]:eq(1)').attr('checked', 'checked'); which does not work. I might have a syntax error Here is the rb : <input type="radio" onclick="accountShow()" id="AcctRB" ru...

How to Change Grouping of Radio Buttons in Visual Basic 2010 Express Edition

The app I am trying to make needs a few info in the beggining, these questions include a radio button I have four radio buttons in the same frame and I want to change the grouping so there are two questions being answered ...

radio button values not being submitted

I must be losing my mind... I have a form with some radio buttons, but no matter what, the POST is only including the NAME of the radios, not the value of whichever is selected: <input type="radio" name="storage" value="1" id="ds_d"> <input type="radio" name="storage" value="2" id="ds_p"> <input checked type="radio" name="s...

How to create a treeview with radio buttons in the [grand]child nodes?

I am trying to create a treeview that looks something like the following: Parent |__Child1 |__ __ __ O Grandchild1 |__ __ __ O Grandchild2 |__Child2 |__ __ __ O Grandchild3 |__ __ __ O Grandchild4 I am using vb.net in Visual Studio 2008. Any insights as to how I can accomplish this will be very much appreciated! ...

Help with changing DropDown event to Radio Button triggers - javascript

Hi everyone, I have a dropdown in my form (the code was provided) and when the second option (of2) in the drop down is selected, some form elements change. It all works fine. What I want to be able to do is change the dropdown to two radio buttons instead. Having the same form changes take place on selection of the second radio button...