onclick show input field javascript code example
Example 1: 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
Example 2: prefill input field html
<input type="text" value="default value">