I am getting the syntax error:
SyntaxError: missing ) after argument list
From this jQuery code:
$("#createEnquiry").text(${noEnqMsg});
What kinds of mistakes produce this Javascript Syntax error?
I think you meant to use string quotes:
$("#createEnquiry").text("${noEnqMsg}");
Or maybe you though you were using template strings:
$("#createEnquiry").text(`${noEnqMsg}`);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With