Hide and show implementation using js

That code actually works, what are you wanting to do?