chechu
01-06-2018, 08:24 PM
1) Script Title: Chained Menu
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex1/chainedmenu/index.htm
3) Describe problem:
This is the code I have:
<div class="main-search-input-item">
<select data-placeholder="All Categories" class="chosen-select" >
<option>All Categories</option>
<option>Shops</option>
<option>Hotels</option>
<option>Restaurants</option>
<option>Fitness</option>
<option>Events</option>
</select>
</div>
And this is the code of the chainedmenu:
<form name="listmenu0">
<table align="center"><tr>
<td><select name="firstlevel" style="width:180px;"></select></td>
<td><select name="secondlevel" style="width:160px;"></select></td>
<td><select name="thirdlevel" style="width:160px;"></select></td>
<td><input type="button" value="Go" onclick="goListGroup(document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel)">
<input type="button" value="Reset" onclick="resetListGroup('chainedmenu')">
</tr></table>
</form>
But as there is no form in it, how can I make sure that the current css will be used for the selector?
This is how the form should look like (http://brunomazereel.com/Knipsel2.JPG)
And this is how it is now (http://brunomazereel.com/Knipsel1.JPG)
Can anyone help me out please?
Working on a deadline ...
Thanks!
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex1/chainedmenu/index.htm
3) Describe problem:
This is the code I have:
<div class="main-search-input-item">
<select data-placeholder="All Categories" class="chosen-select" >
<option>All Categories</option>
<option>Shops</option>
<option>Hotels</option>
<option>Restaurants</option>
<option>Fitness</option>
<option>Events</option>
</select>
</div>
And this is the code of the chainedmenu:
<form name="listmenu0">
<table align="center"><tr>
<td><select name="firstlevel" style="width:180px;"></select></td>
<td><select name="secondlevel" style="width:160px;"></select></td>
<td><select name="thirdlevel" style="width:160px;"></select></td>
<td><input type="button" value="Go" onclick="goListGroup(document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel)">
<input type="button" value="Reset" onclick="resetListGroup('chainedmenu')">
</tr></table>
</form>
But as there is no form in it, how can I make sure that the current css will be used for the selector?
This is how the form should look like (http://brunomazereel.com/Knipsel2.JPG)
And this is how it is now (http://brunomazereel.com/Knipsel1.JPG)
Can anyone help me out please?
Working on a deadline ...
Thanks!