I have the following code:
//this grabs the t202kw, but if they set a forced kw, this will be replaced
if (readCookie('t202forcedkw')) {
var t202kw = readCookie('t202forcedkw');
} else {
var t202kw = t202GetVar('t202kw');
}
Does this mean that if the cookie t202forcedkw is set then it takes the value stored in that cookie and if not it will take the t202kw value?
How would I change that so it will take the t202kw value if t202kw has a value and if not it will take the cookie value?
Thanks,
Jon