Coast Line
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"></cftex tarea>
when i view the same in my browser, it shows as:
<textarea name="answer3" id="cf_textarea13238851455 35" 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('f orm2').res et();
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..
<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"></cftex
when i view the same in my browser, it shows as:
<textarea name="answer3" id="cf_textarea13238851455
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('f
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER