sanjuT
09-19-2003, 09:57 AM
This works in Netscape 4.76, but not IE 6...anyone know why?
This is called when a button is pressed. it resets 4 dropdowns to the first selection(dropdowns used as search criteria).
the page is reloaded, so that that a search is returning all data (because the first selection of each dropdown is selected, which is 'No Filter')
<SCRIPT language="javascript">
function resetfilter() {
document.filtermenus.developer.options[0].selected=true;
document.filtermenus.priority.options[0].selected=true;
document.filtermenus.status.options[0].selected=true;
document.filtermenus.contact.options[0].selected=true;
window.location.reload();
}
</script>
Thanks!!
This is called when a button is pressed. it resets 4 dropdowns to the first selection(dropdowns used as search criteria).
the page is reloaded, so that that a search is returning all data (because the first selection of each dropdown is selected, which is 'No Filter')
<SCRIPT language="javascript">
function resetfilter() {
document.filtermenus.developer.options[0].selected=true;
document.filtermenus.priority.options[0].selected=true;
document.filtermenus.status.options[0].selected=true;
document.filtermenus.contact.options[0].selected=true;
window.location.reload();
}
</script>
Thanks!!