All pages on our website have a header, a sidebar, and the mainform (body). In the sidebar, we need a dropdown such as:
Code: Select all
<form name="listselect" method="get">
<select name="List" id="NYT">
<option value=0>Hardback Fiction</option>
<option value=1>Hardback Non-Fiction</option>
<option value=3>Paperback Fiction</option>
<option value=5>Paperback Non-Fiction</option>
</select>
</form>
where the user can select an item from the list and we will display the selected items to match the user's choice. We do not want to refresh the entire page, and thus do not want to use "action='whatever.php'" in the <select> tag. We need to be notified the user has changed the selection in the dropdown, and the current value of "List" so we can display the proper items in the sidebar.
Is it possible to do this without going to javascript?