title: Why can't use beginform with ajax?
body: <p>I need to send id my load page and how can ı send id and load another page ? </p>
  
  <p>MY error : Uncaught SyntaxError: Unexpected string
  I now this error syntax error but ı am tried everything , ı am new in ajax and mvc</p>
  
  <p>this is my code :</p>
  
  <pre><code>           $.ajax({
               type: "POST",
               contentType: "application/json; charset=utf-8",
             url : "http://localhost:9000/api/Customer/CustomerList",
               success: function (data) {
                   $("#customerList").DataTable({
                       pageLength:50,
                       destroy: true,
                       "data": data,
                       "columns": [
                           { "data": "CustID"},
                           {
                               "data":   function send(data) {
                                   return "@using (Html.BeginForm("CustomerList", "Customers", FormMethod.Post, new { target = "_blank" })) {&lt;input type='submit' value=" + data.custID + " /&gt;}";
                                }
                           }
                       ]
                   });
               },
               error: function (data) {
                   alert("CustomerList");
               }
           });
  </code></pre>