Thread: Drop down error
View Single Post
  #1  
Old 12-20-2008, 03:00 AM
 
dxbsgt dxbsgt is offline
 

Newbie
  
Join Date: Dec 2008
Posts: 1
 

Question Drop down error

I am displaying a dropdown with product manufacturer list. It displays all the manufaturers list correctly. When i change the index, no effect on my website. It should go to manufacturer page . And also javascript doest show any page error. Please help me. Here is my code.

<select name="manufacture_list1" id="manufacture_list1"{if $onchange} onchange="javascript: self.location='manufacturers.php?manufacturerid='+ this.options[this.selectedIndex].value;"{/if}>
<option value="">{$lng.lbl_please_select_one}</option>
{foreach from=$manufacturers item=m}
<option value="{$m.manufacturerid}"{if $m eq $manufacturers} selected="selected"{/if}>{$m.manufacturer}</option>
{/foreach}
</select>
__________________
X-cart 4.1.10
Reply With Quote