0

Option select

Car Select Hello ALL! https://code.sololearn.com/W9SwkAwl69GE/#html I am still learning but was hoping to have some help with this. I am adding to my code each day to try and learn bits and bits at a time. With the Car Select Code im working on when you press 'submit' a message displays saying "This is Mercedes"( or whatever car that was selected) What im looking to do is after pressing 'submit' for another select option box to appear below the message with a submit button. Within the select option I want to add car modles. and once i hit submit It will display information about that car. Thank you for your help! :) https://code.sololearn.com/W9SwkAwl69GE/?ref=app

3rd Jan 2019, 10:29 PM
Steven Schick
Steven Schick - avatar
5 ответов
+ 3
We are saying the same thing. And it is possible. What you will do is this. Create a div after the form and make it hidden on windows load with css. After that the content of the div will be programmatically rendered with JS. It is almost 2sm here. I could help you do it in the morning if someone else haven't. Regards...
4th Jan 2019, 12:42 AM
africana
africana - avatar
+ 3
We are saying the same thing. And it is possible. What you will do is this. Create a div after the form and make it hidden on windows load with css. After that the content of the div will be programmatically rendered with JS depending on the selected model. It is almost 2am here. I will help you do it in the morning if someone else haven't. Regards...
4th Jan 2019, 12:44 AM
africana
africana - avatar
+ 2
I can help with this but the question is a bit contradictory or maybe I should say I don't understand. It is not too clear to me to have 2 submit buttons. The only thing I understood will be that you want to have extra info for the selected car. However kindly rephrase the question. I also saw your code, the JS could be written and made smaller, I will help would look into that or anyone else in the community....
4th Jan 2019, 12:20 AM
africana
africana - avatar
0
its not clear? or not possible? regardless what i am looking to do is after selecting the make of a car then model then display info on that particular model.
4th Jan 2019, 12:34 AM
Steven Schick
Steven Schick - avatar
0
i appreciate your help. ill work on this some tomorrow but i am new to this. so lerning something new would he great for me. best
4th Jan 2019, 1:31 AM
Steven Schick
Steven Schick - avatar