skip to Main Content

If the son is yes then the dropdown from list 1 should come if the son dropdown is no then the drop down from list 2 must come – Jquery ajax

I am setting up a conditional dropdown. <div class="form-group"> <label asp-for="son" class="control-label"></label> <select name="son" id="son"> <option value="none" class="a" selected="selected"> -- choose one --</option> <option>Yes</option> <option>No</option> </select> <span asp-validation-for="son" class="text-danger"></span> </div> Here is the dropdown for son, if it is NO…

VIEW QUESTION

Passing the serialized data to the controller in MVC through AJAX – Jquery ajax

I have a view : @{ ViewBag.Title = "Home Page"; } <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <link href="~/Content/themes/base/jquery-ui.css" rel="stylesheet" /> <link href="~/Scripts/datatable/DataTables-1.10.20/css/dataTables.jqueryui.min.css" rel="stylesheet" /> @section Scripts{ <script src="~/Scripts/datatable/DataTables-1.10.20/js/jquery.dataTables.min.js"></script> <script src="~/Scripts/datatable/DataTables-1.10.20/js/dataTables.jqueryui.min.js"></script> <script> $(document).ready(function () { $("#contenttable").DataTable({ }); $("#submitdata").click(function () { var datatabledata…

VIEW QUESTION
Back To Top
Search