View Full Version : Resolved Ajax dropdowns not loading when there is more than one dropdown

01-07-2009, 08:50 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm#combo

3) Describe problem: If you try and create two dropdowns it will only load the link on the first dropdown. I.E. If I select December from the second drop down it never LOADS.

<table class="dropdown">
<td><font color="#000000"><strong>DAILY:</strong></font><br />
<select id="ajaxmenu" size="1" onChange="ajaxcombo('ajaxmenu', 'content')">
<option value="Select">Select&nbsp;&nbsp;&nbsp;</option>
<option value="daily_tpc_report.php">Summary</option>
<td><font color="#000000"><strong>MONTHLY:</strong></font><br />
<select id="ajaxmenu" size="1" onChange="ajaxcombo('ajaxmenu', 'content')">
<option value="Select">Select&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="daily_tpc_report.php">December</option>

01-07-2009, 09:08 PM
I figured it out, you have to change the select id name for each dropdown.