You can help me to see how to get the FCK for editing the focus text in this text box. this is the result of viewing the source code on the HTML page: HTMLcode & lt; tdwidth & quot; 100% & quot; id & quot; arcBody & quot; & gt; & lt; inputtype & quot; hidden & quot; id & quot; body & quot, how to get the focus of this text box
The FCK is used for text content editing. this is the result of viewing the source code on the HTML page:
HTML code
When opening the page, I want to get the focus of the text editor and place the cursor in it. How can I implement it using JS. Thank you.
------ Solution --------------------
This is complicated and requires the js functions provided by FCK.
In the FCK example, there is a detailed demonstration of various operations such as positioning, reading, inserting, appending, and replacing.
If your FCK does not contain the _ samples or _ testcases Directory, download a complete version.
------ Solution --------------------
$ ("# Body"). focus ();