[thelist] Combobox
Rob Smith
rob.smith at THERMON.com
Tue Jan 20 15:20:31 CST 2004
Hi Maganizo,
You don't need php or mysql for this. It almost sounds like what you want to
accomplish is client side programming; JavaScript.
On you combobox/checkbox have an onClick event handler:
<input type="checkbox" name="No1" onClick="ClickOtherBoxes()">
Then back up in your <head></head> tags have something like this:
<script language="javascript">
function ClickOtherBoxes() {
if document.formName.No1.value == "checked" {
document.formName.No2.value = "checked";
docuemnt.formName.No3.value = "checked";
}
}
</script>
If this doesn't help, try posting your code so that we all may take a closer
look at what you're trying to accomplish.
Regards,
Rob.Smith
-----Original Message-----
From: Maganizo Monawe [mailto:mmonawe at poly.ac.mw]
Sent: Tuesday, January 20, 2004 2:16 AM
To: thelist at lists.evolt.org
Subject: [thelist] Combobox
Hie Everyone,
I have just subscribe to the list. i have been told that i will be sent a
confirmation message very soon. I have a problem where i have little time.
I suppose you could assist as i am waiting to confirm to the list.
i have several comboboxes and text boxes on my web page which i created
using php and mysql.
with the comboboxes, i would like to do the following:
1. when i select a value in one combobox, i want the values in another
combobox to change depending on the value i selected.
2.when i click a combobox it should bring up values depending on the value
in another text box.
i am new to php and mysql. i can do basic operations of course with both.
your help will be greatly appreciated.
regards,
Maganizo Monawe,
Information Specialist,
The Malawi Polytechnic,
P/Bag 303,
Chichiri,
BT 3.
Malawi.
Cenral Africa.
Tel:+265 1 670 411
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list