OnKeypress is not working when i click on input type field its not showing inputtextarea.
<input type="Text" onKeyPress="myFunction()" styleClass="slds-input" value="enter email" id="intag"/>
<apex:inputTextarea cols="100" rows="10" id="textareaMsg" value=" {!msgbody}"/>
<script>
function myFunction() {
document.getElementById('textareaMsg').show();
}
</script>
document.getElementById
– Santanu Boral May 14 '18 at 7:13