Dear friends,
I have problems using list box. When I click one of the list in the list
box, I want the result to appear another list box. I don't have any idea
how to solve it. Here is the code. anak2.asp also content a list box.
Please help.
code : anak1.asp
<script language="javascript">
function buat()
{
document.write("<A target='middle'
href='javascript:window.location.replace('anak2.asp')></a>")
}
</script>
<form method="post" action="anak2.asp">
<select name="pilih" size="1" onChange="buat()">
<option selected>Sila pilih</option>
<option value = "test1">Test1</option>
<option value = "test2">Test2</option>
</select>
</form><P>