checkbox

Jquery - check if checkboxes are checked one at a time.

Basically what I need to do is run through a series of checkbox if it is checked I need to submit its value using ajax. Now I can't seem to find a way to run through each checkbox one at a time. Here's the code on my page. $(document).ready(function(){ $('#submit').click(function(){ }); }); <?php /** * Include vB core. */ require_o...

checkboxes with jquery validity.

There seems to be a problem in FF when you use jquery.validty.js to validate my forms. If I'm validating a checkbox or radio btn the X image doesn't show up. It works in safari but I haven't tried IE. Has anyone had this problem? <html> <head> <title>Simple</title> <link type="text/css" rel="Stylesheet" href="css/jquery.validity...

Using checkbox as gridview control

I have a gridview that uses a stored procedure for its select statement. The stored proecedure accepts a varchar and a bit. I want a checkbox outside of the gridview to change the value of the bit. I've set the parameter to the checkbox but it doesn't seem to be working. Am I missing something? ...

keeping radio button value after post

HI i'm using a php page and i need to keep the value of and check box and radio button (checked or not checked) after post page. how could i make it? thanks ...

Jquery adding many checkbox values in IE8 very slow

I've been looking for a better way to count values of selected checkboxes in IE8, because at the moment it's painfully slow. My issue is: I have 60 checkboxes arranged in a grid Each checkbox has 4 values (each value represents a market segment) The user can check any of the checkboxes I need a running count of the totals for each segm...

Asp.Net Toggle checked property of a Data Bound checkbox

Hi All I have a GridView control that has one column of checkboxes set up like this: <asp:TemplateField> <ItemTemplate> <asp:CheckBox ID="RowCheckBox" runat="server" Enabled="false" Checked='<%# (bool)DataBinder.Eval(Container.DataItem ,"Associated") %>'/> </ItemTemplate> </asp:TemplateField> Then when the user clicks a...

ASP.Net RadioButton control inherits CheckBox

I've just encountered a "bug" with the following code. foreach(Control control in controls) { if(control is TextBox) { //Do textbox stuff } if(control is CheckBox) { //Do checkbox stuff } if(control is RadioButton) { //Do radiobutton stuff } } The bug was that the "radiobutto...

jquery checkbox event handling

I have the following: <form id="myform"> <input type="checkbox" name="check1" value="check1"> <input type="checkbox" name="check2" value="check2"> </form> How do I use jquery to capture any check event occuring in myform and tell which checkbox was toggled (and know if it was toggled on or off)? ...

AWT repaint issues

I am trying to make some small additions to some old java code that does not support swing. I need to add a small dialog that contains a panel which has a checkbox and a couple text fields. When the user clicks on the checkbox I want to disable or enable the checkboxes. This part seems to work well but the text fields are not properly...

How to filter content using checkboxes? - jQuery

Hello, I am trying to figure out how to filter in/out content with checkboxes using jquery. Being very new to jquery I have no idea how to approach this the correct way. I would like three checkboxes like this: <div class="check_filter"> <div id="filter"> <input type="checkbox" id="apple" /><label for="apple">Apple</label> ...

Filter content from mysql db with checkboxes using jQuery?

Hi all, I'm new to jquery and php and I'm having trouble doing this... I have a php webpage that gathers content from a mysql table. I want to be able to filter through this content with some checkboxes, but have no idea how to create the checkbox jquery code and for it to get the selected or checked results back from the database to d...

Android image gridview with checkboxes

Hey, I'm trying to make an image gridview which would have checkboxes on each image. So basically the checkbox would hover over the imageview. Is this possible? If it is...how? Thanks ...

New gmail overloaded checkbox - does a gnu version exist?

Hi In the new version of GMail I have seen a checkbox with a dropdown to select all/none/read/unread/starred/un-starred Could such a thing be used on my site without getting hit with some look and feel copyright issue? If not, do you know of one in public domain (jQuery would be nice) Thanks ...

Checkbox Array Values in $_REQUEST but not $_POST

For some reason my checkbox array values don't show up in $_POST. For example: <form method="post" action=""> <input type="checkbox" name="cb[]" value="1"> <input type="checkbox" name="cb[]" checked="checked" value="2"> <input type="checkbox" name="cb[]" value="3"> <input type="checkbox" name="cb[]" checked="checked" va...

HTML Label float passed Checkbox on left

I have a checkbox and a label, and while the label is set after the checkbox, it appears before it when the page is in view. What could be the problem? <input name="signed" id="fd_supplier_contract_signed" type="checkbox" value="1" /> <label for="fd_supplier_contract_signed">Signed:</label> IMAGE: ...

jQuery strange behaviour on click() from a click()

Hi, I am facing a strange behaviour in jQuery 1.4 with the click event. The idea is to click on a drop-down list (change()), which then invert twice a collection of checkboxes by using the click() function of them. If I have to do so it is because the click on checkboxes update other fields, so I thought instead of inverting the checkbox...

Using Checkbox to Delete row in Gridview with Visual Basic.net code behind and Stored Procedures

Tools for my website. Visual Studio 2010 SQL Management Studio asp.net visual basic.net I am using GridView. Because of my search code I am not able to use the automatic delete function that GridView has to offer. I clicked on GridView, said "Add New Column" and added a checkbox column. I want to be able to check one or more boxes an...

Get the row id of the current item in ListView

This is my list view item: I want to put an OnClickListener on the Checkbox. But I need to get the list item that the CheckBox is in, via row id. How can I do that in the onClick method. ...

jquery check two checkboxes uncheck existing checked checkboxes

I have a form with two sets of checkboxes. The first is a list of roles on a committee (chair, vice chair, secretary, etc.) The second set of checkboxes is a list of people in those roles. For instance, Todd is our vice chair and Gwen is our treasurer. If I want to have Todd's checkbox selected when I click the vice-chair checkbox, I...

multiple selectors jquery

This: $('input.people').attr('checked', false).filter('[name=toddS]').attr('checked', true); will select a checkbox with the class of people and the name toddS while unchecking all of the other boxes. How do I add another name to the filter? I've tried several different combinations and nothing works. This is what I have: $('input...