checked

C# Datagridview Checkbox Checked Event - multiple rows?

Hello! I have a datagridview with multiple columns and rows. The first column contains a checkbox. I want the user to be able to select multiple checkboxes and then perform an action. For example if they select checkboxes in rows 1 and 2, the data from other columns in rows 1 and 2 can be selected and passed into a messagebox. I know i ...

How can I determine if a radio button is checked already?

I'm using webrat with cucumber and I would like to test if a radio button is checked already when I am on a page. How can I do that ? I didn't find any step in webrat which can do that. ...

Jquery Validate

Hi, I'm using jquery.validate.js on a form which is working as it should except for an area where users can choose between paying by cheque, or credit card. Depending on which option is chosen, a hidden div will show. By Cheque: <div class="accordionButton"> <label for="Cheque"><input onclick="javascript: $('#li_buttons').show('slow'...

How to add new div tag when check box is checked using jquery

how to add new div tag next to check box when check box is checked and also when two check box is checked the two div tag must to be display. please help and make me to solve this module using jquery ...

What is a simple jquery way to select a radio when checkbox is checked and then deselect the radio when checkbox unchecked?

<input id="myCheckbox" type="checkbox" /> Please, please check me <input id="myRadio" type="radio" /> Am I selected ? I would like the following behavior: When myCheckbox is checked then myRadio is going to get selected. When myCheckbox is unchecked then myRadio is going to become unselected. How will I do this in a very simple...

How do you get the checked value of asp:RadioButton with jQuery?

I need to do something like this: <asp:RadioButton ID="rbDate" runat="server" Text="Date" GroupName="grpPrimary" /> and be able to check the value of the radio button's checked value in jQuery, but my attempts like these don't return true/false. if ($('[name=rbDate]').attr("Checked")) if ($('[name=rbDate]').attr("Checked").val()) i...

Tree Node Checked behavior on a TreeView in Compact Framework 3.5 running on Windows Mobile 6.5

I have been upgrading an existing .NET Windows Mobile application to use the 3.5 version of the compact framework and to run on Windows Mobile 6.5. I have a form with a TreeView. The TreeView.Checkboxes property is set to true so that each node has a check box. This gives no trouble in all previous versions of Windows Mobile. However, i...

unexpected value for $(this+':checked').val()

I have a radiobutton set called 'daypattern'. Clicking on it should enable the checked member's formfield siblings and disable the formfield siblings (if any) of other members. I am trying to compare the value of the checked field with the value of the current radio button but the checked field value is returning an integer rather than ...

ContextMenuStrip item reference problem

I have searched on here and have not found exactly what I am looking for. I am using a ContextMenuStrip, within this there is one menu item that is a checked/unchecked item. The structure is the following: Top Level: Settings Middle Level: Processing Bottom Level: Manual processing I can not find a way to access the Bottom level item,...

how do I get all checkbox variables even if not checked from HTML to PHP?

I noticed that PHP seems to return only values of checked checkboxes. I would like to see a list of checkboxes, not just values of checked checkboxes. Is there a way to detect variables of unchecked boxes? I asked because I want to be able to update settings. For example, I have a few options that are already checked but if an user dec...

mootools 1.11 div contains checked checkbox

how can mootools 1.11 determine if a div contains any checked check boxes? tried all kinds of variations using $ $$ $E $ES getElements and css selectors, its just not returning true if this div contains no tick boxes var ticked = $(sId).getElements('[checked=checked]'); if($chk(ticked)){alert('yo');}else{unticked = true;} ...

Check Checkboxes loaded from JQuery Load

Hi, I am loading a set of checkboxes into a div using Jquery and the load function. My code is $("#cb-list").load('www.someurl.com'); where www.someurl.com returns html for a bunch of checkboxes e.g. <input type="checkbox" value="sddfdsf" name="cb[]" id="a1" /> <input type="checkbox" value="sddfdsf" name="cb[]" id="b2" /> I want t...

How Can I get the text of the selected radio in the radio groups

as said in the title for example: <input id="User_Type_0" type="radio" name="User_Type" value="1" checked="checked" /> <label for="User_Type_0">User1</label> <input id="User_Type_1" type="radio" name="User_Type" value="2" /> <label for="User_Type_1">User2</label> how can I get the text:User 1 ...

PHP checkbox input

An easy question: How do I check in PHP if a checkbox is checked or not? ...

Find out if radio button is checked with JQuery?

Hi Guys, I can set a radio button to checked fine, but what I want to do is setup a sort of 'listener' that activates when a certain radio button is checked. Take, for example the following code: $("#element").click(function() { $('#radio_button').attr("checked", "checked"); }); it adds a checked attribute and all is well, bu...

C# - What could cause overflow checking here?

I am accustomed to C# not performing overflow checks, as the language spec states (§7.5.12): For non-constant expressions (expressions that are evaluated at run-time) that are not enclosed by any checked or unchecked operators or statements, the default overflow checking context is unchecked unless external factors (such as compiler ...

When must we use checked operator in C#?

When must we use checked operator in C#? Is it only suitable for exception handling? ...

jQuery Selector - checked and class begins with...

I need to get the value of the first checkbox which is checked and who's class name begins with 'rqc', eg. rqc205 I have tried this: requestID=$('#requestsTable').find('input[class^='rqc']:checked').val(); but it yields nothing, whereas requestID=$('#requestsTable').find('input:checked').val(); works but does not limit to the class. ...

online quiz using ASP dot NET

Hii, I need to develop an online quiz website that would be having MCQs. I would want to have one question appearing per page with a Numeric Pager so that the user can go back and forth. I tried using the FormView for displaying the questions and RadioButtons. I created a class QANS that would hold the answer selected by the user for t...

Issue with jQuery setting checkboxes as checked in IE6 (not showing as checked?)

The Code: var lstInstanceIds = getData.lstInstanceIds.split(','); for(var i=0; i<lstInstanceIds.length; i++) { var value = lstInstanceIds[i]; $('input[value=' + value + ']').attr('checked','checked'); } So all i'm doing is looping a list and setting the attribute checked as checked where the values meet. This ...