jQuery: hide and show an input element

后端 未结 6 2105
情话喂你
情话喂你 2021-02-19 09:42

I\'m trying to do is hiding/showing a certain input object if a select value is checked.

Code in JSFiddle

The HTML part of the code is here:

<         


        
6条回答
  •  孤城傲影
    2021-02-19 09:51

    You could simply do it with CSS:

    Change the ID here:

    
    

    since you already use it here

    and then add this css:

    #add_fields_placeholderValue {
      display: none;       
    }​
    

提交回复
热议问题