Guest User

Untitled

a guest
Oct 19th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. @if (item.Dev_Planned != null)
  2. {
  3. @Html.Hidden("Row_Status", 0)
  4. <td class="strt"> @Html.EditorFor(x => item.Start, "Start_Date", new { HtmlAttributes = new { @id = "Start_Date" } })</td>
  5. }
  6.  
  7. <td>@Html.DisplayFor(x => item.End, "End_Date", new { HtmlAttributes = new { @id = "End_Date" } })</td>
  8.  
  9. $(document).ready(function () {
  10. $("td.strt").bind("change", function () {
  11. console.log("here");
  12. var cur_td = $(this).parent("tr.home");
  13. console.log("here now");
  14. var QA_date = cur_td.find("td.End_Date").val();
  15. console.log(QA_date);
  16. var test = new Date(QA_date)..getTime();
  17. console.log(test);
Add Comment
Please, Sign In to add comment