how to adapt chainedmenu to css without form
1) Script Title: Chained Menu
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...menu/index.htm
3) Describe problem:
This is the code I have:
Code:
<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:
Code:
<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
And this is how it is now
Can anyone help me out please?
Working on a deadline ...
Thanks!