sanjdhiman
Programmer
hi there all,
I have a quick question.
What i want to do is have a webpage where when i click on a drop down menu item and change the value in it for example
<select name="type">
<option value="1">For Sale</option>
<option value="2">To Let</option>
</select>
if i choose "To Let" on the drop down menu, it will instantly on the same page give me a form with say the following:-
<select name="minpric">
<option value="1">10000</option>
<option value="2">100000</option>
</select>
and if they selected the other (For Sale) then it would show the following on the same page
<select name="minpric">
<option value="1">10000000</option>
<option value="2">1000000000</option>
</select>
Can anyone help?
I think its a bit of javascript but not sure how to do it
Thanks in advance
Sanj
I have a quick question.
What i want to do is have a webpage where when i click on a drop down menu item and change the value in it for example
<select name="type">
<option value="1">For Sale</option>
<option value="2">To Let</option>
</select>
if i choose "To Let" on the drop down menu, it will instantly on the same page give me a form with say the following:-
<select name="minpric">
<option value="1">10000</option>
<option value="2">100000</option>
</select>
and if they selected the other (For Sale) then it would show the following on the same page
<select name="minpric">
<option value="1">10000000</option>
<option value="2">1000000000</option>
</select>
Can anyone help?
I think its a bit of javascript but not sure how to do it
Thanks in advance
Sanj