Link to home
Start Free TrialLog in
Avatar of Coast Line
Coast LineFlag for Canada

asked on

Issue with cftextarea using inbuilt fckeditor

I have added my cftextarea as in my form as:

<cftextarea id="answer3" skin="office2003" wrap="hard" name="answer3" cols="60" rows="5" tabindex="3" value="#url.answer3#" richtext="yes" toolbar="Default" class="textarea_3"></cftextarea>

when i view the same in my browser, it shows as:

<textarea name="answer3"  id="cf_textarea1323885145535" class="textarea_3" tabindex="3" cols="60" rows="5" wrap="hard" ></textarea>

its id changes everytime it is refreshed..

Now the thing is, i am clearing all the form fields on submit, i am using it as:

document.getElementById('form2').reset();      

it resets the whole form and clear all fields, but it does not clear the textarea with riuchtext, i am confused why it is not clearing

Let me know, Please, Buy the way i am doing the call ajax based and it is returing the values without page refresh..

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Coast Line

ASKER

Excellent mate