I am trying to run html code inside of a cgi script. Everything works expect for the line of code below. It says I have a syntax error and I do not know why this is.
<< "<input class = 'btn' name = 'calculate' type = 'button' VALUE='Shortest Path' onClick='sendDataST(document.getElementById('begP').value + '\n' + document.getElementById('endP').value + '\n')'>\n"
Thank you.