Show Hide div if, if statement is true

后端 未结 7 450
情歌与酒
情歌与酒 2020-12-08 15:46

My code works to a point. What I want is that when this if statement is false, the

doesn\'t show



        
7条回答
  •  离开以前
    2020-12-08 16:33

    Use show/hide method as below

    $("div").show();//To Show
    
    $("div").hide();//To Hide
    

提交回复
热议问题