title: Magento: how to show standard error/success message using JS in admin panel?
body: <p>I can add error/success message to the Magento admin panel from server-side, for example,</p>
  
  <pre><code>Mage::getSingleton(’core/session’)-&gt;addError('***');
  </code></pre>
  
  <p>But how to show the same message on the client-side using JS? I mean standard way (of course I can create the same message box, but it's not a solution). For example when I need to show a status of some AJAX request. Any ideas?</p>