-3

I wanna make a button which shows two values hide and show. When we click the button hide it hides the content and it value changes to show and when we click show it displays the content.

Shi
  • 11
  • 1
  • 2
    Welcome to Stackoverflow, please read [How To Ask](https://stackoverflow.com/help/how-to-ask). Pay special attention to [How To Create MCVE](https://stackoverflow.com/help/mcve). The more effort you'll put into posting a good question: one which is easy to read, understand and which is [on topic](https://stackoverflow.com/help/on-topic) - the chances are higher that it will attract the relevant people and you'll get help even faster. Good luck! – Nir Alfasi Nov 28 '17 at 17:31
  • 1
    Please make sure you've done some research before asking. This is something that's usually covered in a tutorial – evolutionxbox Nov 28 '17 at 17:31

1 Answers1

0

I agree with previous comments. This is something typically taught in a tutorial. I was able to find an existing example in SO in less than 30 seconds. Hope this helps: https://stackoverflow.com/a/13652860/6288438

Tim B
  • 41
  • 1
  • 5