Hello.
I’m new here, and I would like to thank you all for the opportunity of solving my problem here.
I’m developing a website where I’ll have to provide a selection tool (a tier) with 2 positions and the user will have to click on them one at a time and then select an option from a list at the bottom.
Something like this:
[URL=”http://s4.postimg.org/hyn4jcph9/web_app.png”]http://s4.postimg.org/hyn4jcph9/web_app.png
Step by step, this is what I need to happen:
1 – User click at position “1”.
2 – User looks down for an option and chooses “A”.
3 – The position “1” gets filled with that info (I mean, gets background and string “A”).
4 – Option “A” gets “disable” (user can’t click there anymore).
5 – If the user clicks on the first position (that is already filled) he/she is prompted about removing that selection and doing it again.
I know that I’m asking for a lot of code. It is not that simple. But I’m really lost about where to start, because I’m a Java developer not familiar with JavaScript (that I think will be necessary to handle that).
Thanks for the support!
Have a nice day!