Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var content = document.getElementById("content");
- var show = document.getElementById("show");
- show.onclick = function(){
- if (content.className == "open"){
- content.className = "";
- show.innerHTML = "Показать больше";
- }
- else {
- content.className = "open";
- show.innerHTML = "Скрыть";
- }}
Add Comment
Please, Sign In to add comment