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