checkbox

jQuery Problem with check checkbox when I check it

Hello i have problem. I have that function: $("#tabela tr").toggle(function(){ $(this).addClass("zaznaczone"); $(this).find(" :checkbox").attr("checked", "1"); },function(){ $(this).removeClass("zaznaczone"); $(this).find(" :checkbox").attr("checked", ""); }); and it's fine when i click on "tr" but when i click on chec...

Disable Check-boxes recursively in RAD tree view

I am trying to select all the check-boxes of the children in a Telerik RAD Tree view when the user checks a parent node and disable the check-boxes of all child nodes. I have a recursive function that is successfully checking the boxes, but i'm not having much luck in disabling all child check-boxes. Here is my code: <script type="t...

[JSF] selectBooleanCheckbox - How do I know which checkbox am I selecting or deselecting?

I develop something like a shopping cart. I can select multiple items (by clicking on the checkbox next to that item) and add them to a list. How can I know which checkbox I am selecting. If I do this <h:selectBooleanCheckbox value="#{document.checked}"/> it only tell me a state of a checkbox is selected or not, but does not tell me w...

radio buttons act like checkboxes with jQuery

Hi, Is it possible a radio buttons group to have the functionality like checkboxes? (possible jQuery solutions) Thanks ...

CheckedChanged EventHandler of dynamically added Checkboxes not firing inside UpdatePanel of a Repeater

Hello! I´ve read most posts here but i can´t figure out why the "CheckedChanged" Event is not firing. Here is my situation. I´m using a Repeater to generate Items out of a Database. Each ReapeaterItem should include an UpdatePanel, because i have to Update the Controls inside the UpdatePanel and do not want to reload the complete page....

checkbox size in safari ?

<style> input.checkbox { width:300px; height:300px; margin:0px 0 0 0px; } </style> <body> <input type="checkbox" class="checkbox"/> Iwant to increase the checkbox size, but this code is properly work in Internet Explorer, but not in Safari. ...

How to show an validation error if there is no checkbox selected in the form on my CakePHP?

I have a simple form with multiple checkboxes and i want to know how i can show an error if there's no checkboxes selected? ...

Javascript Max number of checked input type checkbox

Using asp.net to generate several checkboxes. Looking for a javascript solution that will test any checkbox starting with the name pdf* to see if more than 5 are checked, then alert over that number. There are other checkboxes I do not want this to run on that do not shae the name pdf*. Thanks in advance. here is an example of my che...

Simple question regarding doing action on checkbox click in jquery

I must have looked at 10-15 tutorials on this already but just cannot get this to work, so in my .js I have: jQuery('#sports : checkbox').click(function() { alert('it works'); }); and in my .html doc I have: <input type="checkbox" name="sports" /> It just won't work, no matter what I try and I have tried every variation I c...

Zend_Form: Database records in HTML table with checkboxes

Hi, I am trying to add a HTML multi-column table to a Zend_Form. The table would be populated by data from the database and each row should be preceded by a checkbox, as shown in the ASCII below: +-----+-------------------------+-----------------------+--------------+ | | Column_1 | Column_2 | Column_3 ...

The best way to bind a ajax call to Html.CheckBox

I have a list of items and each item has a Html.CheckBox. What is the best way to bind a ajax call to that checkbox. Is there a a sexy way "like" Ajax.ActionLink or just use jQuery for this? So my question is: is there a MVC ajax way of doing this or do I just do this with jQuery. ...

Trouble accessing checkbox properties (client-side vbscript)

I have a bunch of checkboxes where a user can select from a list of systems which they want to load. The checkboxes are created like so: '*************************************************************** ' Print systems from DB in a table for the load page. '*************************************************************** Function PrintSys...

How do I get the checkbox value from a specific cell in a table row using jQuery?

I have a table that contains multiple checkboxes in each row. I need to get the value of each individual checkbox. I've been able to do something like the following to retrieve the value of a checkbox in the first column of a table... $('#myTable tbody tr td:first-child input:checkbox').each(function() { if (this.checked) { ...

Is there any way to prevent a WPF CheckBox from firing its Checked event?

I have a group of WPF CheckBoxes that have a Checked event handler that handles some logic when the user clicks on one of them. However, I also have a "Clear All" button that, when clicked, will clear all the checkboxes. If the user clicks on the "Clear All" button, I do NOT want the checkboxes to fire their Checked event. Is there a way...

UI Design disabled radio buttons

Hi, I have an HTML interface developed using the usual suspects and I have a list of check boxes, which are segments / groups which the user can run a report on. These segments need to be created on the server, so generally would not be available until the next day after creating them. My issue is that I need a graceful way to di...

hide text when checkbox is unchecked using jquery

the checkboxes are checked by default. if unchecked they should hide the text. how do i hide or show the text in jquery? html: <div class="check"> <p><input type="checkbox" value="Name" id="name" checked /> <label for="name">Name</label></p> <p><input type="checkbox" value="Reference " id="reference" checked /> <label for="refere...

Setting value of checkbox programmatically in VB.NET

I can check the value of a checkbox in a GridViewRow: isChecked = CType(row.FindControl("chkSelect"), CheckBox).Checked But what's baking my noodle is trying to figure out how to programmatically set a checkbox to checked. The scenario is I have some rows in a GridView that are associated to another value in a dropdown. So, when I se...

Use multiple checkbox in wordpress admin

I have created a menu to manage user records for wordpress admin. While listing the record I have used check box to select and unselect the record as in Pages menu. I have to select whole address or name on checkbox click. But here what happens is that when I click on name it selects whole checkbox including name and address. I do not h...

combox+checkbox+tree??

i want form.load full the comboxcheckboxtree, but control appearl error message: this.tree.getRootNode is not a function [Break on this error] var root = this.tree.getRootNode(); i don't know how to do? i know it's error, but i'll how to do? ...

how to add checkbox column to Extjs Grid

i have EXTjs grid. i want to know how to add the checkbox to the Extjs grid column... pls help... in my datatable i ll get the value for the column 'Status'. it may br either true/false. so based on that it should show the checkbox column checked / unchecked. urgent.... ...