Hello,
I am making a sort of mileage calculator. No database available, all the code has to be HTML/JavaScript.
I have it so that a few drop-down boxes appear as you choose your start, state, and city destinations. But my problem is that I need to be able to choose "Cleveland" from my last drop-down menu and have it display "147" in a text field. The text field can be there the whole process if need be.
I suppose maybe there is a way to do it with a write statement too so I would not need the text field?
I am not too adept with JavaScript so I get lost in the context. Any help would be appreciated.
Thanks!
Kenn
I am making a sort of mileage calculator. No database available, all the code has to be HTML/JavaScript.
I have it so that a few drop-down boxes appear as you choose your start, state, and city destinations. But my problem is that I need to be able to choose "Cleveland" from my last drop-down menu and have it display "147" in a text field. The text field can be there the whole process if need be.
I suppose maybe there is a way to do it with a write statement too so I would not need the text field?
I am not too adept with JavaScript so I get lost in the context. Any help would be appreciated.
Thanks!
Kenn