title: How to redirect to another page using jquery with paramether
body: <p>i write index page using bootstrap data table and .net mvc and i want my last column to be redirect button to order details. I filled datatable using ajax/jquery and maked button in this last column. When i click on it nothing happend and i get following error: <strong>identifier starts immediately after numeric literal</strong>. </p>
  
  <p>I put my code bellow</p>
  
  <pre><code>    $(document).ready(function ()
          {
              $('#ordersList').DataTable({
                  "ajax": {
                  "type" : "GET" ,
                  "url" : "@Url.Action("GetData","OrderManager")" ,
                  "datatype" : "json"
                  },
                  "columns":
                  [
                  { "data" : "CreatedAt" },
                  { "data" : "FirstName" },
                  { "data" : "Surname" },
                  { "data" : "Email" },
                  { "data": "OrderStatus" },
                  { "data": "Id" , "render" : function ( data ) {
                      return "&lt;a class= 'btn btn-danger' onclick = Menage(" + data + ")&gt; Menage&lt;/a&gt;";
                      }}
                  ]
              });
          });
  
      function Menage( id ) {
              var url = '@Url.Action("UpdateOrder", "OrderManager", new { id = "__id__" })';
              window.location.href = url.replace('__id__', id);
      }
  </code></pre>
  
  <p>Controller name is: OrderManagerController
  Action is: UpdateOrder</p>
  
  <pre><code>public ActionResult UpdateOrder(string Id)
          {
              ViewBag.StatusList = new List&lt;string&gt;() {
                  "Order Created",
                  "Order Processed",
                  "Order Shipped",
                  "Order Complete"
              };
              Order order = orderService.GetOrder(Id);
              return View(order);
          }
  </code></pre>