$ -> $('button').on 'click', -> $('#mytext').css('max-height', '500px') $('button').remove()