Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @if (item.Dev_Planned != null)
- {
- @Html.Hidden("Row_Status", 0)
- <td class="strt"> @Html.EditorFor(x => item.Start, "Start_Date", new { HtmlAttributes = new { @id = "Start_Date" } })</td>
- }
- <td>@Html.DisplayFor(x => item.End, "End_Date", new { HtmlAttributes = new { @id = "End_Date" } })</td>
- $(document).ready(function () {
- $("td.strt").bind("change", function () {
- console.log("here");
- var cur_td = $(this).parent("tr.home");
- console.log("here now");
- var QA_date = cur_td.find("td.End_Date").val();
- console.log(QA_date);
- var test = new Date(QA_date)..getTime();
- console.log(test);
Add Comment
Please, Sign In to add comment