I would suggest to remove all id attributes from the current template. An id should be unique for the whole page and this template will be displayed for each Grid row. You could for example switch them to class attributes. With this change in place, you could iterate over the Grid rows and access the specific span elements and their contents via jQuery.
duedate = $(
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI