[Solved] jQuery true and false [closed]
Give that the following assumption is correct (this this is often the cause of this sort of problem): /Game/CheckName returns a piece of text that is either the word “true” or the word “false” Then the solution is: Compare strings, not booleans. if (data === “true”) {} Beware whitespace in your output. It will stop … Read more