Skip to main content
Inspiring
October 6, 2009
Question

cftextarea

  • October 6, 2009
  • 1 reply
  • 498 views

The code below generated the editor tool where you can add the text in the box, but when i click on image tag, there is no browse button to browse the image from the local file.  Can anyone helps?

thanks

===========

  <cfsetting enablecfoutputonly="true">
<cfprocessingdirective pageencoding="utf-8">

<cfset baseURL = GetDirectoryFromPath(CGI.SCRIPT_NAME)>

<cfset theName = "richText01">

<cfoutput>
<p class="contentSubTitle">normal Rich Text Editor</p>

<cfform name="#theName#Form">
<cftextarea name="#theName#" richtext="yes" width="600" height="400" />
</cfform>

</cfoutput>

This topic has been closed for replies.

1 reply

October 7, 2009

http://www.dedestruct.com/2008/03/22/howto-cross-browser-cursor-position-in-textareas/

and

http://www.google.co.uk/search?q=javascript+get+cursor+position+in+textarea&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a