Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // hiding without jQuery
- document.getElementById('myInput').style.display = 'none'
- // showing without jQuery
- document.getElementById('myInput').style.display = 'block'
- // hiding with jQuery
- $('#myInput').hide()
- // showing with jQuery
- $('#myInput').show()
Add Comment
Please, Sign In to add comment