Servus,

I declared a textarea ( id = kstring("textareaPlain") ), keeping the current 
'value' in the variable 'textareaPlainContent'.

After changing the content of the textarea (not by user interaction), I'd like 
to see the new content immediately in the textarea.
    
    
    let
      taNode = getVNodeById( kstring("textareaPlainContent") )
    
    textareaPlainContent = kstring("A new content")
    
    taNode.value = textareaPlainContent
    
    # How to redraw or refresh the textarea here?
    
    
    Run

**How to redraw or refresh the textarea?**

The textarea is defined like this:
    
    
    textarea(id = kstring("textareaPlain"), style = { fontSize: cstring("120%") 
},
      rows = kstring("18"), cols = kstring("50"),
      value = textareaPlainContent
      onblur = textareaPlainMayBeChanged
    
    
    Run

Servus Peter

Reply via email to