JavaScript

nezek3

New member
JavaScript

מישהו יודע איך אני מגדיל <textarea> בפקודת js ?
 

selalerer

New member
הנה כך:

<html> <body> <textarea id=ta1> </textarea> <script language=javascript> var ta1=document.getElementById("ta1"); ta1.style.width="500px"; ta1.style.height="500px"; </script> </body> </html>​
זה אפילו עובד בכל שלושת הדפדנים שלי (Mozilla, Internet Explorer, NetScape)
 

nezek3

New member
תודה רבה !

אתה יודע איך מחברים את זה לגודל של החלון ? :|
 
למעלה