Answers for "jquery display none open input"

6

jquery clear file input

//clear a file input with jQuery 
$("#myFileInputID").val(null);

//clear file input in plain Javascript
document.getElementById("myFileInputID").value = null;
Posted by: Guest on August-01-2019
0

how to hide a input and label jquery

$('#Id').hide(); // Hide the ID and save display into cache to later be restored
or
$('inputID').css('display', 'none'); // To permenately set the display to none
Posted by: Guest on January-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language