|
by: Bob Bedford |
last post by:
I create checkboxes using datas from a database (with PHP).
I store all values in an array, as I must pass this value like a Form value.
Now, in some cases, when a checkbox is selected, I must disactivate other
checkboxes.
How can I do this ?
here is the code:
|
by: Scott |
last post by:
Relative newbie here,
I'm looking to display the value of radio buttons and check boxes on the
page before submission. So far I can do most of it. When "Hat" is checked
there are to be no color options available. Click on shirt or pants, you
have three options, (actually four if you chose "None"). Shirts and pants
can have multiple colors.
OK, here is the issue, if you choose a color then change your mind and then
un-check the box, it...
|
by: feanor |
last post by:
I need to select children checkboxes when selecting the parent one.
This is my function:
function SelectChildrens(checkbox_name){
form = document.forms;
Sname = checkbox_name.split("-");
for (i=0;i<form.elements.length;i++){
THATname = form.elements.name.split("-");
if (Sname.length==1){
if (THATname==Sname){
|
by: terence.parker |
last post by:
I currently have the following JS in my header:
function checkall(thestate) {
var checkboxes=eval("document.forms.EssayList.file_id")
for (i=0;i<checkboxes.length;i++)
checkboxes.checked=thestate
}
This works fine - but the problem is that it doesn't work with my
|
by: shree |
last post by:
Hello everyone,
I'm writing a form which will have a group of checkboxes. When user
selects one checkbox, it will automatically disable the rest of the
checkboxes in the group. I'm able to develop this function.
I also would like to provide a 'clear' button which should trigger via
onClick. When 'clear' button is clicked, it should clear 'checked'
checkbox and re-enable disabled (grayed out) checkboxes. I'm not able
to get this...
|
|
by: Tracey |
last post by:
Thanx M, and I mean that, but I really need this to work
without a postback and frankly it should behave like the
other controls are behaving (correctly). This smells like
a bug to me and I just wanted to get some sort of
confirmation from the field or refutation with some sort
of an explaination. Can you reproduce the problem? I have
found a way around it for now by encasing the checkboxes
in an <asp:Table> then disabling/enabling the...
|
by: Mike Draper |
last post by:
The goal of this section of the app is to have a datagrid that displays rows
to the user who will then select which rows he wishes to continue the process
with.
The Grid containing all choices to select from is bound to a datatable with
a column that isn't databased, but generated by code with the boolean
datatype.
When I bind to this DataTable, all of the Checkboxes are disabled.
|
by: Marc |
last post by:
Okay, here's the problem - I have 3 radio buttons, and 11 check boxes
(which are disabled by default). I have the javascript below which when
the last radio button is clicked, enables the checkboxes.
<script type="text/javascript">
//<!]>
</script>
I used the JavaScript on 2 pages, on almost identical forms, and for
some reason it doesn't work on the 2nd one - they just stay disabled,
|
by: Joseph.Moffatt |
last post by:
Here is a simple webpage containing two checkboxes.
I have used javascript to diasble one checkbox when the other one is
selected.
At the moment it uses two seperate but identical functions, one for
each checkbox.
I am new to javascript so I don't know but I think it imay be good
practice to simplify this code so only a single funtion is required for
|
by: viki1967 |
last post by:
I need one function javascript that:
1) when I enter in this htm page I see enabled only checkbox of categories A, M and T; checkboxes of microcategories all disabled;
2-a) If I select the checkbox of macrocategory A, M and T checkboxes all disabled;
2-b) If I select the checkbox of macrocategory M, A and T checkboxes all disabled;
2-c) If I select the checkbox of macrocategory T, A and M checkboxes all disabled;
3) If I select the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|