I would like to detect a textarea in a form using javascript. And insert onkeypress into that textarea.
I do no want to change original html code for textarea.
I just want to add <script> tag in header section of a page and that <script> tag detect textarea in that page and insert onkeypress event into textarea
Thanks.
I do no want to change original html code for textarea.
I just want to add <script> tag in header section of a page and that <script> tag detect textarea in that page and insert onkeypress event into textarea
Thanks.
Comment