Enabling inactive fields by clicking on field

前端 未结 1 1477
星月不相逢
星月不相逢 2021-01-29 04:46

Is it possible to have a group of inactive fields where if one of the fields is clicked some of the fields become mandatory and some segments of code are run? Say for example yo

1条回答
  •  遇见更好的自我
    2021-01-29 05:34

    This method you are looking is called 'chained-select' method.

    jQuery framework is used for example below:

    
    
    
    
    
    



    Working example on JSFiddle: http://jsfiddle.net/farondomenic/fg7p8/1/

    0 讨论(0)
提交回复
热议问题