Blog

I’m submitting a form via AJAX. $ response = new AjaxResponse(); It’s not using the Drupal default dialog, so I can’t use $ response->addCommand(new CloseModalDialogCommand()); after all validation is done. It’s using jQuery Modal. Validation is working fine. After all things done I want to execute Javascript in submitForm function. Which function should I use?Read more