Changing Textarea field using Javascript - but doesn't display

I’m trying to clear a Textarea field, but it’s not working - the Textarea contents are unchanged.

Here’s the code (the alert is firing, which confirms that it’s being executed):

$(document).on('knack-view-render.view_19', function(event, view, data) {
  alert('listener for view#2: ' + view.key);
  $('#view_19-field_45').val('');
});

OK, solved it myself. The last code line should be just:
$('#field_45').val('');