Ajax callback for 'remove'.
function ajax_forms_test_advanced_commands_remove_callback($form, $form_state) {
$commands = array();
$commands[] = ajax_command_remove('#remove_text');
return array(
'#type' => 'ajax',
'#commands' => $commands,
);
}