需求:在点击回复按钮时,在kindeditor中添加被回复的用户昵称

html:
<textarea name="content" ></textarea>

js:(主要是红色部分)
$("a[name='DoReply']").click(function(){
var nick = $(this).parent().prev().children("span[class='GetNick']").text();
KindEditor.html("#mycontent",nick);

});

相关文章:

  • 2021-09-06
  • 2021-10-13
  • 2021-10-13
  • 2018-01-25
  • 2021-08-19
  • 2021-10-19
  • 2021-12-19
  • 2021-10-15
猜你喜欢
  • 2021-09-17
  • 2021-11-29
  • 2021-12-26
  • 2021-10-13
  • 2021-09-10
  • 2021-12-16
  • 2021-12-19
相关资源
相似解决方案