Vladislav Vorobiev wrote:
> Hi,
> 
> How  to clear <textarea> with server method
> 
> core=getKSSCommandSet('core').setAttribute('#message', 'value', '') does't 
> work.
> core=getKSSCommandSet('core').replaceInnerHTML('#message',  '') does't work 
> too.
> core=getKSSCommandSet('core').setAttribute('#sendmessage', 'value',
> 'sended') works
> 
> <textarea id="message"></textarea>
> <input type="submit" value="sendMessage" >

Replace the full textarea, with a new empty textarea.

getKSSCommandSet('core').replaceHTML('#message',
        '<textarea id="message"></textarea>')

-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to