checkbox

Slow TreeNode with CheckBoxes [large quantity]

Tree View control's AfterCheck event checks all child nodes below it and enables the Run button if something is checked. 1346 void TreeNode_AfterCheck(object sender, TreeViewEventArgs e) { 1347 if (!e.Node.Checked) return; 1348 foreach (TreeNode sub in e.Node.Nodes) { 1349 sub.Checked = e.Node.Checked; 1350 } 1351 RunButton....

How do I remove checkbox border?

Is it possible to remove the borders around a checkbox so that it appears invisible? I have it placed in a DIV with a color background. ...

Checkbox Column in ExtJS TreeGrid

Hi, is there a way to include a checkbox column in the new extjs widget TreeGrid ? Marking the nodes attribute checked to false/true just doesn't work as it was for the TreePanel. Cheers ...

Prevent Firing Signals in Qt

We have a QCheckBox object, when user checks it or removes check we want to call a function so we connect our function to stateChanged ( int state ) signal. On the other hand, according to some condition we also change the state of QCheckBox object inside code, and this causes the unwanted signal. Is there any way to prevent firing sig...

jQuery checkbox click shows input field - doesn't work

Hi, I use a jQuery function to show certain hidden text fields once you select something from a select box. This works fine for select boxes but I can't get it to work for a checkbox. Here is the stripped code I tried (in a nutshell) but it's not working: http://jsbin.com/uwane3/2/ Thanks for your help, I rarely use JS so my knowledge ...

Zend Form Checkbox checked

I have a checkbox. My script generate this checkbox and assign value of checkbox as 'yes'/'no'. How can I do with Zend next thing. If value is 'yes' checkbox is checked, and inside out. ...

Checkbox not checking when used in jQuery toggle()

Hi, I have this jQuery code, which uses the toggle() function on a checkbox input (via ID #rescheck), to reveal a hidden div on click/tick of the checkbox - it all works perfectly, except that the actualy "tick" or "check" does not appear in the box, on Chrome. In Firefox its the opposite, the check or tick is always present from page ...

Checkbox array in C sharp

Im trying to create a array of Checkboxes in Winforms and I have four Checkboxes and if I click on a Checkbox, a messagebox should display the checkboxes checked. public void checkboxtest() { CheckBox[] boxes = new CheckBox[4]; boxes[0] = checkBox1; boxes[1] = checkBox2; boxes[2] = checkBox3; ...

How can I dynamically update the selected option in a hidden select element based on a radio button state using jQuery?

I have n number of select elements in an html page that are used to allow the user to select categories. All of the selected values need to get posted to the server with name attr values of category[] (this a restriction of the CMS I'm using), but as there are in fact multiple groups of categories from which the user must choose one ea...

Localising jQuery select/deselect all

Hello. I'm using the following snippet to create a select/deselect all checkboxes: http://www.wiseguysonly.com/2010/01/15/select-and-unselect-all-checkboxes-with-jquery/ This is a great help, but just wondering how you might go about localising the effected checkboxes to only those that are siblings (i.e. in the same group of li items...

going crazy about the spring mvc checkbox

I got the checkbox working, but I can't remember what modification I have done to my code. it's never working again. it keeps saying: org.springframework.web.servlet.tags.form.Checkbox Tag - java.lang.NullPointerException at org.springframework.web.servlet.tags.form.Selected ValueComparator.exhaustiveCompare(SelectedValueCom parator.ja...

How to remove unchecked check-box values from cookie using jQuery?

I'm trying to write a script where the unchecked values of a set of check-box are removed from a cookie. I am using jQuery's cookie plugin below is my current function which is called when a check-box is called; <script type="text/javascript"> jQuery(document).ready(function($){ $("input[type=checkbox]").each(function () { $(...

Checkbox shows hidden field - not working onload

I am using this probably ugly javascript to show a text box (in a li tag plus its label) if a checkbox is checked. $("#li-2-21").css("display","none"); $("#Languages-spoken-and-understood-8").click(function(){ if ($("#Languages-spoken-and-understood-8").is(":checked")) { $("#li-2-21").show("fast"); } else ...

How to verify if the checkbox is checked in a Delphi TTaskDialog?

OK, this should be easy, but I do not find the solution, at least not in the not so good documentation.. In a TTaskDialog, you have the option to add one check-box. You can control its initial state by means of the tfVerificationFlagChecked flag in Flags. But how to get the state after the dialog has been Executed? Of course one can use...

Stop Checkbox to be selected when form loads.

I have a simple form that has a checkbox. THe checkbox always appears checked when the page loads. How do I make it appear without a check when the page loads? Here is my code: <div id="quote_inputCH" style="width: 110px"> <div id="input_wrap"> <input id="checkpoints" class="styled"...

Print page shows unchanged checkbox in IE with DocType

Hi Guys, Strange problem. I have a simple webform where users can fill in text and check/uncheck some checkboxes. When this is printed to pdf or paper (or print preview) in IE (7 or 8) the checkboxes are printed unchanged. E.g. user sets a check, this is printed unchecked ... or with a pre-checked box with the user unchecked, is printed...

Checked checkbox in gridview, in c# codebehind checked property is false

Hello, I have custom upload control. The control has gridview with the uploaded documents and the first column has checkbox for selecting documents I want to delete by clicking Delete button. The upload control is contained in other UserControls almost everywhere in the application and works properly, except at one control. The problem ...

Select all based on category

function Check(chk) { if(document.myform.brandid.value!="Check all"){ for (i = 0; i < chk.length; i++) chk[i].checked = true ; document.myform.brandid.value="UnCheck all"; }else{ for (i = 0; i < chk.length; i++) chk[i].checked = false ; document...

jQuery detect which element a onClick occurs to

I'm attempting to activate table row checkbox when the user clicks within a table row. Each row has a checkbox. I have the following code which works fine as a standard version. $('.scrollTable tr').click(function(event) { if(event.target.type !== 'checkbox') { $(':checkbox', this).trigger('click'); } }); The data in ...

How can I check check-boxes according to value using jQuery?

How can I check check-boxes (on page load) according to value of check-boxes using jQuery? I have list of values that I have stored within localstorage (Long live HTML5 !!) A sample data would be something_random|something_random2|something_random3 And basically I want to read each value and make sure onload checkboxes that already ha...