204 Topics

Member Avatar for
Member Avatar for Marshmallows

In my head, this seems so easy, but i cant seem to overcome it. I have an html page which includes a checkbox. I then have a jQuery code to display a hidden field when this box is checked. The hidden field is populated with a value that is calculated …

0
113
Member Avatar for zjbarden

Three files. A simple contact form. I am trying to get checkboxes & dropdowns to work, but so far, only (1) dropdown works, and after going at it for hours, have found no error in the <form> itself. Not a PHP genius, so maybe it has something to do with …

Member Avatar for ko ko
0
268
Member Avatar for johnnycho

I know from scouring the Web that this is a very common Javascript question, but I have a twist on the question which is giving me headaches, and I hope some of the brilliant minds here at DaniWeb can help show me the error of my ways. Say a user …

Member Avatar for vibhaJ
0
2K
Member Avatar for masterjiraya

the problem here is When I check 1 checkbox there's no mysql error but if the checked checkboxes are more than 1 then an error occurs. it only takes the first but the following checkboxes occurs an error. the code can be downloaded here. the file of the problem is …

Member Avatar for masterjiraya
0
167
Member Avatar for king03

Hi there guys I need some help I can't seem to remove the checks in the check list boxes i used checklistbox1.clearselected(); for my reset button but it didn't work. It does not remove the checks inside the boxes. I have an attachment you can use as your reference. Thank …

Member Avatar for king03
0
102
Member Avatar for masterjiraya

body.php [code=php] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() …

0
92
Member Avatar for praveendasika

I have assigned the value whether the check box is ticked or not to a vairable.I want to pass the value to a function. how do I do that ? if (checkbox1.checked==true) { value1 = "I am here" } if (checkbox2.checked==true) { value2="I am there" } value3 = value1 + …

Member Avatar for praveendasika
0
162
Member Avatar for dibakarmishra

I need help on DataGridView CheckBox. How can make a button enable or visible while only one checkBox of a datagrideview is checked? I tryed this , and it works but it only works when the datagrideview checkbox column is selected but i need when only one checkbox is checked …

Member Avatar for adam_k
0
1K
Member Avatar for ILIAILIA

I am making databases and one of columns is bit(checked or not). an want to sum all the checked ones number field.how to find If is checked or not? Dim sum As Single = 0.0 For i = 0 To Table1DataGridView.RowCount - 1 sum += Table1DataGridView.Rows(i).Cells(4).Value() this is just how …

Member Avatar for ILIAILIA
-1
440
Member Avatar for jaskiratj

hello everyone i try to explain my problem by this following example i have a gridview binded to a table with columns as(name,rollno,status, and last column of the gridview contains a checkbox) now the problem is i want when i check the checkbox of a particular row...then the status column …

Member Avatar for shiva07
0
77
Member Avatar for CrankyMero

Hello everyone, So im been looking around and i havent been able to find info of this problem that i have, so this is the main thing I have this datagridview of an inventory, and i added an extra column(unbound) to the dgv, so what i want to be able …

Member Avatar for CrankyMero
0
1K
Member Avatar for stonybony

Hi, I have a situation that is producing NULL values: The situation is best explained with this code at this link: [CODE]http://www.daniweb.com/web-development/php/threads/227698[/CODE] Initially, I had a link called "add to list" for each record the display page displayed. I used to hide the row-id in there and pass it onto …

Member Avatar for stonybony
0
156
Member Avatar for stonybony

Hi, DW complains of a syntax error that I cannot understand. I use the code as a standalone and it is not a problem, but when used as a table element as written below, it complains of a syntax error. The red highlight is where it complains, the green seems …

Member Avatar for Gerbiler
0
174
Member Avatar for JakeA

hi! i have a listbox binded to a list. the list contains checkboxes binded to a field/member of the list. what i want to achieve is that i want to delete the data from list when it's corresponding checkbox is checked... here's my xaml code: [CODE]<ListBox Name="ListBox1" ItemsSource="{Binding histList, Mode=OneWay}" …

Member Avatar for Mitja Bonca
0
189
Member Avatar for sandersen

Hello, I'm having difficulty getting my PHP code to read my HTML check-box code. Basically, when I submit my test form I get the following error message, Warning: Cannot modify header information - headers already sent by (output started at /home3/seguemin/public_html/feedback.php:83) in /home3/seguemin/public_html/feedback.php on line 110. I am very new …

Member Avatar for ko ko
0
124
Member Avatar for dan72ros

I am trying to create a PHP code for restaurants - I need the check boxes on the UI to allow for options for example the title would be "select up to three toppings" and there would be a list of checkboxes and the User can only check three also, …

Member Avatar for chrishea
0
130
Member Avatar for Olivis

Hello! I need a way to have 3 colums of checkboxes inside a checkedlistbox. I know i could do it with a panel, labels and checkboxes. But having them all in the control would be more convenient. I'm pretty sure there is no direct way of doing this, so i …

Member Avatar for sandeepparekh9
0
161
Member Avatar for GreaseJunkie

I hate to post a thread on this since I know this topic has been discussed ad nauseum, but I've been searching for weeks and cannot find exactly the answer I've been looking for. I'm new to arrays and loops - I get the concept, but not the syntax. Here's …

Member Avatar for hielo
0
371
Member Avatar for rom.

Jquery's .not() and :not doesn't seem to work in this particular scenario. Any corrections or alternatives would be REALLY appreciated! As you see from the code below, when you click on the green box, the purple box will either slide up or down. How can I exclude the checkbox from …

Member Avatar for rom.
0
225
Member Avatar for s7mo

I am 4 months new to PHP! So please be gentle with me. : ) I have an input form that contains check-boxes(it works and posts array to database correctly!) I have an update form that contains the same check-boxes (it updates and posts array to database correctly BUT IT …

Member Avatar for vibhaJ
0
1K
Member Avatar for Morten Brendefu

I am designing a lot of TCheckBox at runtime, and uses mathematical formulas for placing these in columns and rows afterwards on a form. I assign an on click event that is exactly the same on all of them, and everything work, except... Color. My OnClick event is made like …

Member Avatar for Wolfgan
0
2K
Member Avatar for n00b_in_need

Hi, I am working on a refined search feature and I am having a little problem with the following code. I'm trying to get the "genre" values from the form. Then use them in a query to refine the results from the database. The problem is as follows. I need …

Member Avatar for dietdew12z
0
163
Member Avatar for arezz09

i have create a checkbox in listview...so i wanna know how to check it and export only check item to crystal report so i can print item that i have check... please anyone help me..

Member Avatar for codeorder
0
291
Member Avatar for johnbo100

Hi All So I have 2 forms form 1 has a list of checkboxes on it form 2 needs to check if one of the form 1 checkboxes is checked. Please see the code below: texton is a value passed from a function parameter of type string [CODE] If (Form1.Controls.Item("checkbox" …

Member Avatar for johnbo100
0
401
Member Avatar for SoftwareGuy

Hi. This is probably too easy, but... Can anyone tell me how to add or remove a checkbox from a panel by using the Designer? The only samples I could find online had the code nside an arbitrary method called CreateMyPanel(). I'm looking at a file called MyControl.Designer.cs, and inside …

Member Avatar for SoftwareGuy
0
215
Member Avatar for bLuEmEzzy

How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You...

Member Avatar for bLuEmEzzy
0
2K
Member Avatar for alafift

[B]Can somebody help me to retreive one or more checkbox values from the database using php and MySQL? Thanks and I appreciate that.:)[/B] In checkbox.html file the checkbox as follow: [CODE] <form method="post" action="Process.php"> <fieldset> <legend>Choose feature(s) to search for apartment</legend> <table border="0"> <tr> <td><input type="checkbox" name="feature[]" value="walkincloset">Walk in closet</td> …

Member Avatar for sudeepjd
0
6K
Member Avatar for ricvik

Hi, I have implemented an Ajax object - a div containing another ASP file which can be updated dynamically. This ASP page has a number of checkboxes. Is it possible to use JS (or any other tool) to check the checkbox status (i.e. like javascript's [CODE]if (field.checked)[/CODE]) from the containing …

Member Avatar for ricvik
0
188
Member Avatar for blondie.simon

Hello I have an array of boolean data that I'm trying to display on the screen using 144 check boxes. Is there an easy way of updating all 144 check boxes with the data from an array and an easy way to update the array when changes are made to …

Member Avatar for blondie.simon
0
209
Member Avatar for moonknight33

Please help me, my check/uncheck all boxes javascript example work not normally in IE8, but Firefox and Chrome, when I click to box with id "chkAll" to control other box with id "chkId", nothing happen in IE8 but a dotted border outline the checkbox, when I click to outside the …

Member Avatar for moonknight33
0
170

The End.