var res = '<div><input type="text" data-action="calc_1" /></div>'; $(this).each(function (e) { $(this.element).find('.panel-body').append(res); $(this.element).on('keyup', this.someOtherFunction); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)