When commenting, "reply" adds the content to be replied to the current content to textarea, and obtains the cursor at the beginning of the sentence as a connection. $ ('# Comment'). during The focus () comment, "reply" adds the content to be replied to the current content to textarea, and obtains the cursor at the beginning of the sentence.
Just like a connection
Http://v.youku.com/v_show/id_XNDAwODQ0OTY4.html
Content is added to ftextarea, I will, but after the text is added, I won't get the cursor at the beginning of the sentence.
$ ('# Comment'). focus ();
The result is obtained at the end of the sentence.
------ Solution --------------------
PHP code
InsertAdjacentText inserts the specified text at the specified position. Syntaxobject. insertAdjacentText (sWhere, sText) ParameterssWhere Required. string that specifies where to insert the text, using one of the following values: beforeBegin Inserts the text immediately 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. Manual ..
------ Solution --------------------
Reference Post http://topic.csdn.net/u/20120329/09/e12eb48a-aa5f-4f99-84de-189b34f9e285.html
#7.
------ Solution --------------------
Reply
Can I upload the id?