F
F
Ferret Common2020-04-24 22:56:01
JavaScript
Ferret Common, 2020-04-24 22:56:01

How to make a button visible?

There is a button

<div><button type = "button" id = "but2" onClick = "">Пауза</button></div>

How to make it visible? In css, invisibility is described through visibilit, you need to make it visible through js

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2020-04-24
@XOPEK_32

Change the rule in css, no?
If through js, then
but2.style.visibility = 'visible'

L
lukoie, 2020-04-24
@lukoie

Of course, I'm wildly sorry, but if she is invisible, then how are you going to press her?
https://jsfiddle.net/ajnkxoyc/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question