title: ASP.NET MVC3: Confirmation Box before submitting
body: <p>I have the following code which basically is a checkbox that causes a submit to take place.
  As the task gets deleted for the DB, it is a requirement that some box comes up and says, "are you sure" or the likes, to confirm deletion.</p>
  
  <pre><code>&lt;input type="checkbox" 
         onclick="location.href='@Url.Action("Complete", "Tasks", 
                                             new { TaskID = item.TaskID })'" /&gt;
  </code></pre>
  
  <p>This uses Razor syntax.</p>