Every line of 'javascript hide button' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
9 function hideButton(elementId) { 10 document.getElementById(elementId).style.display = "none"; 11 }
145 function show_hide(id) { 146 jQuery('#' + id).toggle(); 147 }
110 function hideButtons() { 111 if (!$("#copypassword").hasClass("hidden")) { 112 $("#copypassword").addClass("hidden"); 113 } 114 if (!$("#injectpassword").hasClass("hidden")) { 115 $("#injectpassword").addClass("hidden"); 116 } 117 }
7 function showhide(id) { 8 obj = document.getElementById(id); 9 hide = document.getElementById("hide-" + id); 10 show = document.getElementById("show-" + id); 11 if (obj.style.display == "none") { 12 show.removeAttribute('style'); 13 hide.removeAttribute('style'); 14 obj.removeAttribute('style'); 15 } else { 16 obj.style.display = "none"; 17 hide.style.display = "none"; 18 show.style.display = "inline"; 19 } 20 }
255 function toggleButtons(show) { 256 if (show) { 257 $("[data-action='new-step']").show(); 258 $("[data-action='edit-step']").show(); 259 260 // Also show "no steps" label if no steps are present 261 if (!$(".step").length) { 262 $("[data-role='no-steps-text']").show(); 263 } else { 264 $("[data-role='no-steps-text']").hide(); 265 } 266 267 } else { 268 $("[data-action='new-step']").hide(); 269 $("[data-action='edit-step']").hide(); 270 271 // Also hide "no steps" label if no steps are present 272 $("[data-role='no-steps-text']").hide(); 273 } 274 }
14 function showHideBlock(elementID, textFadeIn, textHide) 15 { 16 var iconID = elementID + 'Image'; 17 18 if($("#" + elementID).css("display") == "none") 19 { 20 $("#" + elementID).show("slow"); 21 if($("#" + iconID).length > 0) 22 { 23 $("#" + iconID).attr("src", gThemePath + "/icons/triangle_open.gif"); 24 $("#" + iconID).attr("title", textHide); 25 $("#" + iconID).attr("alt", textHide); 26 } 27 } 28 else 29 { 30 $("#" + elementID).hide("slow"); 31 if($("#" + iconID).length > 0) 32 { 33 $("#" + iconID).attr("src", gThemePath + "/icons/triangle_close.gif"); 34 $("#" + iconID).attr("title", textFadeIn); 35 $("#" + iconID).attr("alt", textFadeIn); 36 } 37 } 38 }
67 hideButtons(){ 68 this.$root.children("button").addClass("nbtutor-hidden"); 69 }
23 function hideElement() { 24 var node = document.getElementById('TEST_ID_2'); 25 node.setAttribute('style', 'visibility: hidden'); 26 }
22 function hideElement() { 23 var node = document.getElementById('TEST_ID_2'); 24 node.setAttribute('style', 'display: none'); 25 }
21 function hideElement() { 22 var node = document.getElementById('TEST_ID_1'); 23 node.setAttribute('style', 'visibility: hidden'); 24 }