Comment Point "Reply" to the current content to reply to the content of the textarea, and at the beginning of the sentence to get the cursor
It's like a connection.
Http://v.youku.com/v_show/id_XNDAwODQ0OTY4.html
Content added to the Ftextarea, I will, but after the addition of the text, the beginning of the sentence to get the cursor I will not.
$ (' #comment '). focus ();
This is obtained by the end of the sentence.
------Solution--------------------
PHP code
insertadjacenttext inserts the given text at the specified location. Syntaxobject.insertadjacenttext (Swhere, stext) Parametersswhere Required. String that specifies where to insert the text, using one of the following values:beforebegin inserts the text Immediatel Y before the element. Afterbegin inserts the text after the start of the element, but before all other content in the element. BeforeEnd inserts the text immediately before the end of the element but after all other content in the element. Afterend inserts the text immediately after the end of the element. Stext Required. String that specifies the text to insert. In the manual.
------Solution--------------------
Reference Post http://topic.csdn.net/u/20120329/09/ e12eb48a-aa5f-4f99-84de-189b34f9e285.html
# # of replies.
------Solution--------------------
Reply
to pass in the ID, can you?