How to change visibility of a div css to visible with jQuery

后端 未结 4 1327
说谎
说谎 2021-02-13 15:14

I have NEXT and PREVIOUS buttons on my screen. When the page initially loads I want the Previous button to be hidden and as soon as user clicks the Next button I want Previous b

4条回答
  •  没有蜡笔的小新
    2021-02-13 15:46

    In your JS you use ID ("#" sign before selector's name). But in your CSS you use CLASS (dot sign before selector's name).

    Try to use "#" in both cases (or dot accordingly).

提交回复
热议问题