there is am form on a site i am working on where visitors can search for holiday houses:
i would like to make the form more dynamic for the visitors - if one selects one option in one of the select-boxes the other options of the other select boxes should change dynamically. so that one can only choose from possible options in the other select boxes.HTML Code:<form id="search" method="get"> <p> <select size="1" name="k"> <option value="">category</option> <option value="3">3*</option> <option selected="selected" value="4">4*</option> <option value="5">5*</option> </select> </p> <p> <select size="1" name="w"> <option value="">size</option> <option value="50">< 50 mē</option> <option value="70">50 - 70 mē</option> <option value="95">75 - 95 mē</option> <option value="1000">more than 95 mē</option> </select> </p> <p id="number_of_persons"> <select size="1" name="p"> <option value="">number of persons</option> <option value="2">2 persons</option> <option value="3">3 persons</option> <option value="4">4 persons</option> <option value="5">5 persons</option> </select> </p> <p id="search"> <input class="button" type="submit" value="search"/> </p> </form>
is there any javascript-/ajax-framework for such a task?
thanks for your help!
PS: data is coming from a mySQL-database.



Reply With Quote

Bookmarks