Seeing dpm or drupal set message when using AJAX

ProblemOne of the worst head-aches you'll encounter with AJAX is the inability to know if the code you're writing works.ReasonThis is because there's no place for the drupal_set_message() or dpm() messages to show on the screen.SolutionThis is easily fixed by the code below: I included a comple

Read more