1
vote
3answers
55 views

jQuery/Javascript Checkbox

i want do something like this with a checkBox. if the user clicks on the checkbox, it should change its state (checked -> unchecked and vv. ). my code: $('#checkBoxStandard').change(function() { ...
0
votes
1answer
25 views

Tapestry: How to set HTML checkbox from java page

I am using plain HTML checkbox(not Tapestry type). I need to set the checkbox to checked in my java page. How do I do that? Here is my tml code fragment <input type="checkbox" name="leaf" ...
0
votes
1answer
25 views

one bug that click event of checkbox/radiobutton in emberjs

checkbox event: <input type="checkbox" name="contents" value="1" {{action 'enable_submit'}} /> submit button <button id='submit_btn' class='btn' ...
0
votes
3answers
92 views

Jquery checkbox that hide a specific div and checked all checkboxses inside the div

How to prevent the check boxes not to checked when I run the code? I have some divs with checkboxes inside them, and want to checked the checkbexes inside each and hide the specific div at the same ...
2
votes
4answers
74 views

jQuery if or while loops

I haven't done much (or any) jQuery. I found the following script on here to, but I have a question. All the attempts I've tried while searching this site have ruined the script. I only want it sum ...
0
votes
3answers
37 views

Javascript code not running after the page is refreshed or reloaded

I have a javascript code that, whenever a checkbox is checked, will reload my current page and then is supposed to grey out some input fields. However, it is only doing the reload when the page is ...
0
votes
1answer
47 views

how to check each asp checkbox in gridview

<asp:GridView ID="science_tab" runat="server" AutoGenerateColumns="false" ShowHeader="false" class="subjects_tab"> <Columns> <asp:TemplateField> <ItemTemplate> ...
0
votes
1answer
55 views

How do I get my CheckBox to do something when it's checked?

For example, I have 5 checkboxes (cb1 - cb5). cb1 is superior to others, which means it can only be checked if all the other 4 are checked. And if I check cb1, all the other 4 should automatically get ...
0
votes
1answer
670 views

insert data of selected gridview checkboxes values using c# asp.net

I am trying to make a meal planner, I have a GridView of foods and their nutritional values and a CheckBox row. I want to be able to check as many foods as I wish. Then click the Add Food button and ...
0
votes
3answers
163 views

i want to display all checkboxes value which are checked

I want to display all checked checkboxes in php. <script> function RequestObject () { var ReturnValue = null; try { ...
1
vote
0answers
274 views

Checkboxes loose 'Checked' after check all on ajax post PHP [closed]

I've got a page where if certain checkboxes are checked first, an ajax post updates which checkboxes are shown lower down the page. Each section of checkboxes has a Check All, and Uncheck All button. ...
1
vote
1answer
409 views

Programmtically setting checkbox checked attribute in IE 10

I have a legacy page which uses a ton of raw javascript (no JS library hiding browser differences). It dynamically creates a checkbox like this: function createCheckbox(checkboxName, isChecked, ...
2
votes
2answers
381 views

How to keep checkbox to stay checked after post function

my checkbox return false value after do a post action in codeigniter javascript. Here is my code for function subjectid_change: function subjectid_change(id, subjectid){ setValue(id, subjectid); ...
0
votes
2answers
189 views

JavaScript - calculate Checkbox ONLY when checked

Im a Javascript beginner, but I have built a simple Cost Estimator for my site using Javascript math functions. function calc(form) { a = eval(form.a.value) b = eval(form.b.value) c = ...
0
votes
2answers
53 views

How to get li chechbox checked status in jquery

How to get li checkbox checked status in jquery. I want like this one, but its throw me undefined. $('#ul'+$Id+' li:nth-child('+_index+') span input:checkbox').attr("checked") can anyone help ...
0
votes
1answer
83 views

How I can check box “App Hide” checked by default in android apps?

How to check box "App Hide" be checked by default in android apps? XML code main.xml: http://pastebin.com/aPhyC7VS java code: http://pastebin.com/wizn2a6h I already tried modificate main.xml ...
0
votes
1answer
78 views

I'm having problems trying to set a checked checkbox in my data base [closed]

Hello this is my first time asking for help, I'm new at php and query's but I'm having some problems trying to put a multi checkbox to my database: here's the deal I have 2 databases, sub categoria, ...
0
votes
1answer
458 views

Jquery checkbox inside div checked one at time

So i have a div thats auto generated and inside are 3 check boxes with different id's & names and by default none of them are checked!! If one happens to get checked then i need the other two ...
0
votes
1answer
38 views

Function to display values stopped working when I added this stopPropagation function

I am styling a few MultiSelect elements with unordered () HTML lists, but when I added the most recent function (to close the container when another element is clicked) another one of the functions ...
2
votes
1answer
783 views

jquery attr('checked','checked') works only once

I have a problem finding reason for the following jquery/checkbox behaviour. $( this.obj + ' table.sgrid-content > thead > tr > th > input.select_all' ).on( 'click' , {grid:this} , ...
0
votes
2answers
102 views

Use an array in this function to display values of chechboxes checked

This function replicates the user experience of a Select/MultiSelect dropdown element - displaying the values of checkboxes checked in a container (adds/removes them when they're checked/unchecked), ...
0
votes
1answer
514 views

JQGrid: making all checkboxes checked by default

After adding following in JQGrid :- Models {name: 'checkbox', index: 'checkbox', width:"5%", formatter: "checkbox", formatoptions: { disabled: false } }, Columns "Select" JQGrid has displayed ...
0
votes
0answers
78 views

show-hide toggle a p class when certain checkbox is checked (id of checkbox matches class of p)

I've found similar problems on here but solutions not working for me... I just want to use jquery a certain class of P to appear when I click a checkbox. I'm trying to have it so that p.health toggles ...
0
votes
0answers
204 views

checkbox validate in fancy slider

I tried to modify this code but without result. I use fancy slider to make my form but I have couple checkboxes which should be validate before submit. What I need to change in this jQuery code to ...
0
votes
1answer
96 views

Check boxes checked?

Now I've done a lot of research, tried a lot of methods in PHP, including $_POST isset.. foreach etc But i need some help! Basically, just want to check if the checkboxes have been checked. And ...
0
votes
0answers
172 views

PHP keep checkbox ticked in checkbox array after submit error

I have looked through stackoverflow and can't seem to find exactly what i am looking .I am trying to figure this out and have spent a few hours on it so far. I have database results being outputted ...
0
votes
2answers
190 views

make checkbox automatically checked within table PHP

I am new to PHP and I have problem. I have a table with check boxes. I need to add if statement inside the check box. echo "<div class='table1'> <table> <tr> ...
-1
votes
1answer
78 views

Checkboxes, javascript and php. Not loading results

I have a javascript code that reads from a set of checkboxes and loads a php in case one or more checkboxes are checked. This php will load only the items that are selected. However, now I click on ...
3
votes
2answers
287 views

multiple select checkbox in jquery

I want to show the multiple value of checkbox in a div or textbox. function countChecked() { var n = $("input:checked").val(); $("div").text(n + (n === 1 ? " is" : " are") + " checked!"); } ...
11
votes
2answers
7k views

Jquery Jstree checkbox events capture

I am totally new to jQuery and jstree. I am using jstree and populating the data using xml. But would like to capture event for each node whether checked or not along with their Ids. I tried using ...

1 2 3 4
15 30 50 per page