Sometimes, portions of your layout should only show or be hidden in specific situations. For example, a piece of text, some HTML code or a TradeDoubler script call should only appear on the Thank-You screen.
Until recently, we would write:
Correct IF statement usage for a Thank-You screen looks as follows:
These functions are easier and safer to use. Should the URLs of your forms change, your functions will still work (unlike in the case of document.location).