Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-02-18 18:45:36

iammitun
New member
Registered: 2008-02-17
Posts: 2

putting text into it

Hi,

Does anybody know how can I put text into it dynamicaly.
for example with javascript if I want to load text into it like this

function loadLongQuote()
{
   
    document.form1.wo_quotation.value='testing testing testing';
}

where form1 is my form's name and wo_quotation is my Xinha text area.

and I am calling this function from a button onclick event.

this way normal textarea works fine but xinha textarea does not. can anybody give the solution.

Offline

#2 2008-02-21 21:25:30

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: putting text into it

my_xinha.setHTML('whatever');


James Sleeman

Offline

Board footer

Powered by FluxBB