1000kisoen
IS-IT--Management
hi,
via a checkbox I want to show/hide some listbox's
there are 6 listbox's
4 of should be shown if the checkbox is checked
2 should be hidden
when the checkbox is unchecked
the 4 listbox's should be hidden
2 should be shown
with this code I can only show and hide
only 4 listbox's
<script language="JavaScript">
<!--
function hideShow() {
if (document.Incident.service_request.checked) {
document.getElementById('mail').style.display = 'inline';
} else {
document.getElementById('mail').style.display = 'none';
}
}
-->
</script>
can someone help me with
coding how I like it
thx. kisoen
via a checkbox I want to show/hide some listbox's
there are 6 listbox's
4 of should be shown if the checkbox is checked
2 should be hidden
when the checkbox is unchecked
the 4 listbox's should be hidden
2 should be shown
with this code I can only show and hide
only 4 listbox's
<script language="JavaScript">
<!--
function hideShow() {
if (document.Incident.service_request.checked) {
document.getElementById('mail').style.display = 'inline';
} else {
document.getElementById('mail').style.display = 'none';
}
}
-->
</script>
can someone help me with
coding how I like it
thx. kisoen