Skip to content Skip to sidebar Skip to footer

Use Onload On Text Area Element

I want to use onload on a textarea element. Trying to figure out what am i doing wrong now just to ch

Solution 1:

Supported HTML tags:

  <body>, <frame>, <frameset>, <iframe>, <img>, <input type="image">, <link>, <script> and <style>

see HTML onload Event Attribute


Solution 2:

There is no such event onload for text area.
Read more about it here, about the methods, properties and events.

I assumed you want to init it with something for the first time.
For this simply do what ever you want straight away.

document.getElementById("textarea_info").WHATEVER_I_WANT_TO_DO

Post a Comment for "Use Onload On Text Area Element"