Here using Date alone causes the problem so Write it as:
html += "<td class="" + className + ""><a href="#" data-toggle="modal" data-target="#tourRequModal" onclick='dateSel(\"" + new Date().toString() + "\"," + priceArr[i] + ")'>" + i + priceText + "</a></td>";
solved OnClick function – Uncaught SyntaxError: Invalid or unexpected token