title: Get the MVC controller name in Javascript function
body: <p>I have a <em>Jquery</em> CRUD function; which is called from several Controllers actions.
  Is there any way to find out which contoller is tiggering that function.</p>
  
  <p>For Example; function call from View:</p>
  
  <pre><code>$('a.Edit-Icon').live("click", function (event) { 
    editDialog(this, event, '#_List'); 
  });
  </code></pre>
  
  <p>Function parameters:</p>
  
  <pre><code>function editDialog(tag, event, target,value)
  {
    ------
    // How to get the Controller name ???????????
  
  }
  </code></pre>
  
  <p>Thanks in advance.....</p>