comment.js 346 B

1234567891011121314
  1. $(function()
  2. {
  3. $('#faq').change(function()
  4. {
  5. var faqID = $(this).val();
  6. link = createLink('faq', 'ajaxGetAnswer', 'faqID=' + faqID);
  7. $.post(link, function(data)
  8. {
  9. editor = KindEditor.instances[0];
  10. editor.focus();
  11. editor.html(data);
  12. })
  13. })
  14. })