I did try to add it, but I think I keep missing something! So below is the example I found. I was trying to add it to the admin/view/template/saleorder_list.tpl on the form found around line 17.
Maybe one of our finder minds on here can whip this!
Code: Select all
<Script language="JavaScript">
<!--
function goto(form) { var index=form.select.selectedIndex
if (form.select.options[index].value != "0") {
location=form.select.options[index].value;}}
//-->
</SCRIPT>
<FORM NAME="form1">
<SELECT NAME="select" ONCHANGE="goto(this.form)" SIZE="1">
<OPTION VALUE="">-------Choose a Selection-------
<OPTION VALUE="index.htm">Home
<OPTION VALUE="web_development.htm">Web Development
<OPTION VALUE="html_codes.htm">HTML Tips
<OPTION VALUE="html_codes_chart.htm">HTML Code Chart
<OPTION VALUE="javascript_codes.htm">JavaScript Codes
<OPTION VALUE="216_color_chart.htm">Color Code Chart</SELECT>
</FORM>
Code: Select all
<!-- Start Form MOD ONCHANGE -->
<Script language="JavaScript">
<!--
function goto(form) {
var index=form.select.selectedIndex
if (form.select.options[index].value != "0") {
location=form.select.options[index].value;}}
//-->
</SCRIPT>
<!-- End Form MOD ONCHANGE -->
Code: Select all
<form action="" method="post" enctype="multipart/form-data" id="form">
Code: Select all
<form action="" method="post" enctype="multipart/form-data" id="form" name="form1">
Code: Select all
<select name="filter_order_status_id">
Code: Select all
<select name="filter_order_status_id" ONCHANGE="goto(this.form)">
Thanks,
Gilmore