Hi there,
I'm a complete zero at javascript in need of a hero. I run a free,
non-commercial site which includes a searchable database of hotels in
Morocco.
Find the page at http://www.triotours.com/faq/ma/hotel-search.htm
The form works fine, except for two essential functions:
1. Visitors enter the maximum amount of money they want to spend per night
("maxrate")
2. Visitors then enter whether the maximum amount is for a single or a
double room ("roomtype")
The CGI script would then search for a value between 1 and "maxrate" in the
field set by "roomtype", which could be either "single" or "double".
Can anyone of you help me with the code to do this? It would be much
appreciated!