Use .on('input') . For example: $('textarea').on('input', function() { text = $('textarea').val(); $('div').html(text); });
確定! 回上一頁