$(window).ready(function () { CKEDITOR.replace('comment', { height: 200, toolbar: [ {name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', '-', '-', '-', '-', '-']}, {name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'], items: ['NumberedList', 'BulletedList', '-', '-', '-', '-', '-', '-', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', '-', '-', '-']}, {name: 'insert', items: ['-', '-', '-', '-', 'Smiley', '-', '-', '-']}, {name: 'styles', items: ['-', 'FontSize']}, {name: 'tools', items: ['-', '-']}, {name: 'others', items: ['-']}, {name: 'about', items: ['-']} ] }); //alert('ccc'); }); $('.btnreport').click(function () { var type_report = $(this).attr("data-report-type"); var id_report = $(this).attr("data-report"); $.featherlight("#replyreport"); $('input[name=send_id_report]').val(id_report); $('input[name=send_type_report]').val(type_report); })