To check ajax response against any string, it is better to trim the response text
request.responseText.trim() === "string"
1
solved How do I set ajax responseText to be equal to string?
To check ajax response against any string, it is better to trim the response text
request.responseText.trim() === "string"
1
solved How do I set ajax responseText to be equal to string?