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 ...
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.
...
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 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
...
<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...
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...
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...
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 ...
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,...
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...
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;}
...
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...
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
...
An easy question:
How do I check in PHP if a checkbox is checked or not?
...
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...
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#? Is it only suitable for exception handling?
...
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.
...
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...
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 ...