I have two dropdown lists. One at the top of the page and one at the bottom. They both have the following code :
[php]function setNumberPerPage() {
echo"<form name = 'form' action = 'indexbody.php' method = 'GET'>
<select id='amount' name='amount' onchange='test()'>
<option value = '12'>12</option>
<option value = '24' selected>24</option>
<option value = '36'>36</option>
<option value = '48'>48</option>
</select></form>";
}[/php][code][/code]
If one of the dropdown lists change, the other with the same ID should get the same value. How can I do this ?
Thanks in advance.