Q:

SyntaxError: missing ) after argument list in fire bug

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?

A:

I think you meant to use string quotes: 
$("#createEnquiry").text("${noEnqMsg}");

Or maybe you though you were using template strings: 
$("#createEnquiry").text(`${noEnqMsg}`);

