Chakka, Sudheer wrote:
> Hi,
> 
>       I wanted to give an option to my users: Preview what they have typed
> before posting it. I am not able to use JavaScript for that. JavaScript is
> not able to recognize Active Edit component as a Form component. the same
> thing worked if I use textarea. Is there a way to do that?

ActiveEdit has some onBeforeSubmit() function (don't know the exact name 
by hard, read the source). Call that and all the HTML will be moved from 
the ActiveEdit display area to the hidden formfield. After that you can 
use the hidden formfield just like any other normal textarea.

Jochem

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to