Good day, experts! There is a need to make an unusual drop-down list. I have a field where the user will drive in his cell phone. And I need to, when clicking on the field, a list with the already registered indices of mobile operators like +7 700, +7 701 etc. falls out. After the number, of course, you need to add your number to the end. Here is the problem. The datalist would ideally fit this role, but alas, it only retains the value of the option of the option ... I can imagine how this problem can be solved, but it will be cumbersome. Maybe someone knows a different way easier? Or any plugin? I did not find anything ... Thanks in advance!)
- See [select2] []. Even if it’s not exactly that, it’s not possible to do it on its basis =) [select2]: ivaynberg.imtqy.com/select2 - Zelta
- Justify the need can? According to your description, you are going to make the most inconvenient input element of those that can be presented. - Yura Ivanov
- From the point of view of the user - quite convenient, in my opinion. Necessity that the customer so wished. - Tigriste
|
1 answer
Something like this: http://jsfiddle.net/o4ywfxdq/
- Oh thanks ! This is closer to the truth!) - tigrische
- one@ tigrische is antipattern. Your form can not be filled only from the keyboard. Can not be filled automatically (roboform and others). In addition, codes for all operators will clearly not 5, at 30-40, at least, you can safely count. About the customer - I sympathize. - Yura Ivanov
|