title: HTTP 404 in MVC form using jQuery
body: <p>I do have a MVC C# form like this</p>
  
  <pre><code> @using (Html.BeginForm("", "", FormMethod.Post, new { @class = "form-horizontal", role = "form", id = "FormAgrupar" }))
  </code></pre>
  
  <p>as you can see there is no action nor controller defined just the id value(FormAgrupar) and in the same form I have two checkbox(one for delete row and another one for associate to a specific event) and two buttons</p>
  
  <pre><code>&lt;td style="text-align: center"&gt;
  &lt;input type="checkbox" name="delete" id="delete" value="@item.numero_documento" /&gt;
  &lt;/td&gt;
  &lt;td style="text-align: center"&gt;
  &lt;input type="checkbox" name="code" id="code" value="@item.numero_documento" /&gt;
  &lt;/td&gt;
  
  &lt;input type="button" value="Eliminar Solicitudes" id="btn-eliminar" class="btn btn-danger" /&gt;
  &lt;input type="button" value="Agrupar Solicitudes" id="btn-agrupar" class="btn btn-primary pull-right" /&gt;
  </code></pre>
  
  <p>when the user clicks any button I capture the click event via jQuery, for the button "Eliminar Solicitudes" this is the code:</p>
  
  <pre><code> var form = $("#FormAgrupar");
                  form.attr("action", "@Url.Action("RealizarEliminacion","Home")");
                  form.submit();
  </code></pre>
  
  <p>and for the button Agrupar Solicitudes this is the jQuery code:</p>
  
  <pre><code> var form = $("#FormAgrupar");
                  form.attr("action", "@Url.Action("RealizarAgrupacion","Home")");
                  form.submit();
  </code></pre>
  
  <p>theres is not any problem when I press the button "Agrupar Solicitudes" but when I press the button "Eliminar Solicitudes" I got the message " Server error in '/'  Application - HTTP 404 the resource you are lookin for...Requested url:/Home/RealizarEliminacion" and dont get any clue why, these are my actions in the Home Controller</p>
  
  <pre><code>     [Authorize]
              public ActionResult RealizarAgrupacion(string[] code)
              {
  
   [Authorize]
          [HttpPost]
          public ActionResult RealizarEliminacion(string[] delete)
          {
  </code></pre>
  
  <p>I just added the [HttpPost] because I thought that might solve the problem but nah, so could you please tell me what is the problem?</p>
  
  <p>P.S.  when working this project on development all works just fine but when runs the project in the production enviroment(internet in this case) is when the error prompts.</p>