Hi
I am using Jquery TokenInput . I want to save values using Ajax in database. If multiple Tokens multiple records should be saved.
- <div class="form-group">
- @Html.LabelFor(model => model.CategoryID, "CategoryID", htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- @Html.DropDownList("CategoryID", null, htmlAttributes: new { @class = "form-control" })
- @Html.ValidationMessageFor(model => model.CategoryID, "", new { @class = "text-danger" })
- </div>
- </div>
-
- <div class="form-group">
- @Html.LabelFor(model => model.ParentCategoryID, htmlAttributes: new { @class = "control-label col-md-2" })
- <div class="col-md-10">
- <input type="text" id="CategoryList" name="Categories" class="form-control" />
- </div>
- </div>
Thanks