checkbox

jquery select all checkboxes inside a tab

I have several tabs. Each tab has several nested elements that contain checkbox input elements. I need to be able to select all / none of the the checkboxes within the selected tab. I was hoping this would work: $("#tabs").tabs().data("selected.tabs").('input[@type=checkbox]').attr('checked', 'checked'); But it doesn't. I was thin...

Winforms Checkbox Focus Problem if no Text is Applied on Checkbox

Hi, All I have a multiple checkboxes on a Winforms without having the Text Property of all checkboxes, so the problem is that when i hover a mouse on the checkbox it highlighted but when i go to the checkbox using tab key it never get highlighted.. If anyone have the similar issue and already solved it Please help.. ...

ASP:Checkbox how to autopostback only on checked?

I've got a checkbox that's set up as below: <asp:CheckBox ID="myCheckbox" runat="Server" OnClick="showLoadingScreen(this.checked);" AutoPostBack="true" Text="Check me for more data!" /> The function showLoadingScreen is as below: function showLoadingScreen(isChecked) { if (isChecked) { document.getElementById('f...

Javascript Form Checkbox

I have a javascript form with checkboxes on it. When I click a checkbox and then click "print this page" Everything prints but the checkmark in the checkbox that I selected. Can you help me fix this? thanks ...

How to get the Id of Checkbox which is inside a Repeater.

I have a repeater inside which i put a Checkbox and above rapeater there is a HTML checkbox which is used to Check/Uncheck a Checkbox which is inside repeater using client side javascript. Here is my Code: JavaScript for Check/Uncheck: <script type="text/javascript"> function selectAll() { for (i = 0; i < document.all.lengt...

jQuery - Click event on div but not on checkbox in the div

I'm trying to setup a click event on a div, and I would like that event to fire if that div is clicked anywhere except a checkbox in the div. If the checkbox is clicked, I do not want the div's click event to fire. I setup a click event on the checkbox and returned false, which stops the div's click event, but does not allow the checkb...

VB - how to link up a Check_change to code behind for a checkbox

How do I enable a check_change for a checkbox in VB. Here is what I have so far. Code Behind: Protected Sub CheckBoxCash_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CheckBoxCash.CheckedChanged Label1.Text = "Cash" End Sub Front end code: <asp:Label ID="Label1" runat="server" Text=...

Dynamically create checkbox with JQuery from text input

In my cms I have a checkbox group for categories. I would like to have a text input below that where the user can input the name of a new category and it will dynamically add a new checkbox with the provided name used for both the value and the label. How can I do this? ...

ASP.NET MVC Checkbox Group

I am trying to formulate a work-around for the lack of a "checkbox group" in ASP.NET MVC. The typical way to implement this is to have check boxes of the same name, each with the value it represents. <input type="checkbox" name="n" value=1 /> <input type="checkbox" name="n" value=2 /> <input type="checkbox" name="n" value=3 /> When s...

Connect exclusive checkboxes with line edit?

I want that, when I choose a checkbox the lineedit change the text, a different text per checkbox I have something like that: self.connect(self.form.cb_banda, QtCore.SIGNAL('stateChange(int)'), self.type) self.connect(self.form.cb_tira, QtCore.SIGNAL('stateChange(int)'), self.type) def type(self): if self.form.cb...

Image as Label with Checkbox in Flex

I want to use an image in my checkbox as label, anybody know how ? ...

Creating ListView with check boxes...Android

Hello, I am trying to create a listview that has check box beside each item. (i am following a code from the book android), but i can't get it to work, every time i run it, it crashes. since i am very new to this android staff, i have no clue what to do to get it to work, any help is appreciated.the code is below. *i have created two lay...

How to check a chackbox without window focus.

Hi! I just wanted to know, what would be the c# coding to check a checkbox (named cBox) even when the window does not have focus? I need the exact coding and what the using directives would be. Thank you for all who helped! I'm sorry to those of you who feel like I am just asking too much. I am brand new, and I had tried using Global...

JQuery Treeview with Tri-State Checkboxes

Does anyone know of a JQuery solution for treeview with tristate checkboxes? I'm looking at using YUI, but have more experience in JQuery. ...

Checkboxes patently refuse to submit information onclick- HELP

Hi this is my second post (and second week programming, ever) so apologies in advance. I have a list of checkboxes that represent different search filters that I want passed to params. For example, if this were a restaurant search, I would want my users to be able to check off different types of cuisine that they are interested in. Ju...

Binding the Checked Property of a CheckBox within a TemplateItem

For the life of me I cannot bind the Checked property of a CheckBox control within a TemplateField (declaritively). I have tried: <asp:TemplateField> <ItemTemplate> <asp:CheckBox ID="deactivated" runat="server" checked="<%#Eval("Deactivated")%>"></asp:CheckBox> </ItemTemplate> <...

jquery get array checkbox

I have in my document 2 checkbox arrays. One is engines[] and one is searchId[]. $("input:checkbox[@name='searchId[]']:checked").each(function() i use this to capture all the values from the searchId[] checkboxes (only if checked). $("input:checkbox[@name='engines[]']:checked").each(function() same thing for engines the problem is tha...

Disable the Row according the Checkbox in Gridview.

I have gridview with a checkbocx templatefiled as first column. I want to disables the current row if user unchecks the checkbox. How to do this? ...

Checkbox in first cell of each row in an html table displaying mysql query results

I have a simple HTML table display of data that results from an MySQL query. I would like to have a checkbox in the first cell of each row. I am asking for some suggestions as to where I might go looking for information on how to make this interactivity possible, as I'm sure this is not a "quick-answer" type of question. Example: http...

Checkbox remains unchecked after calling Ajaxed Action

I am using strtus2 <s:checkbox name="checkAll" theme="simple" fieldValue="true" value="%{checkAll}" onclick="javascript:show_op_col_url();return false;"></s:checkbox> Java Script function show_op_col_url() { dojo.event.topic.publish("show_op_col_url"); } Action Class : protected boolean checkAll; public b...