Javascript Alters Textarea Size

[Total: 0    Average: 0/5]

The dimensions of the textarea are set by javascript variables.

Body Code:

var col=50;
var row=10;
var a ='';
    a+='<form name=f1>';
    a+='<textarea cols='+col+' rows='+row+' name=t1>text inside textarea</textarea>';

Times Viewed: 274

Leave a Reply

Your email address will not be published. Required fields are marked *