Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript textarea.append

var $log = $('#myTextArea');

function log(text) {
    $log.append(text);
}

// Call log() in your button click event or whichever function 
// you want to use to print to the text area:

//...
log("Hello world!");
//...
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
3+9 =