Uncaught SyntaxError: missing ) after argument lis
Since you are passing a string literal as the function parameter, you need to enclose it in quotes
Server side
<%=d.DistrictName %>