Ajax form callback: Selects 'remove'.
function ajax_forms_test_advanced_commands_remove_callback($form, $form_state) { $response = new AjaxResponse(); $response ->addCommand(new Ajax\RemoveCommand('#remove_text')); return $response; }