chodzi o to że chcę wybrać nacje / profesje i w div nacje / profesja miały by się pojawić jakieś dane lecz niestety to nie działa...
<script type="text/javascript"> function option1(s) { if(s.value==1) else if(s.value==2) else if(s.value==3) else if(s.value==4) else if(s.value==5) } function option2(d) { if(d.value==1) else if(d.value==2) else if(d.value==3) else if(d.value==4) else if(d.value==5) } </script> <div class="registration"> <div style="float: left; width: 50%; border: 0px solid red;"> <form action="rejestracja&weryfikacja=1.html" method="POST"> <table style="margin-left: 20px; width: 100%;"> <tbody> <tr> </tr> <tr> </tr> <tr> </tr> <tr> <td class="alpha" align="center"> <select class="main" name="nacja" onchange="option1(this)" tabindex="4"> </select> <td> </tr> <tr> <td class="alpha" align="center"> <select class="main" name="profesja" onchange="option2(this)" tabindex="5"> </select> <td> </tr> <tr> </tr> <tr> </tr> <tr> <td class="alpha" align="center"> <select class="main" name="pytanie" tabindex="8"> </select> </td> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> </tbody> </table> </form> </div> <div style="float: left; width: 45%; border: 0px solid red; margin-left: 15px;"> <table style="width: 100%;"> <tbody> <tr align="center"> </tr> <tr align="center"> </tr> </tbody> </table> </div> </div>