jQuery: hide and show an input element

后端 未结 6 2106
情话喂你
情话喂你 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 10:02

    Place the following code beneath the placeholder elements:

    
    

    Doing it in the ready handler may induce 'flashing' of the element in certain circumstances:

    Twinkling when call hide() on document ready

提交回复
热议问题