I have to Get data in the array in jquery through this data I want in MVC Action how to use???
- var quotations = [];
-
- $("#addquotation").click(function () {
- debugger;
- var data = {};
- var itemname = $("#itemname").val();
- var cost =parseFloat( $("#cost").val());
- var notes = $("#notes").val();
- var date = $("#date").val();
-
-
- data.Item = itemname;
- data.Cost = cost;
- data.Notes = notes;
- data.Date = date;
-
- quotations.push(data);
- )};